From b24784f5c13a142bd0cb5d7edb82691c71f4bd00 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 11 Apr 2021 03:51:53 -0700 Subject: [PATCH] git subrepo pull emummc subrepo: subdir: "emummc" merged: "38ed90b6e" upstream: origin: "https://github.com/m4xw/emuMMC" branch: "develop" commit: "5a29e1b2c" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2" --- emummc/.gitrepo | 2 +- emummc/source/emuMMC/emummc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emummc/.gitrepo b/emummc/.gitrepo index 73225cc1e..d9f486747 100644 --- a/emummc/.gitrepo +++ b/emummc/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/m4xw/emuMMC branch = develop - commit = 5eed18eb527bbaa63aee5323c26de5b0cca6d28e + commit = 5a29e1b2cb1b60771594999fa1671fea19c596fc parent = 021b29d2dbc8ed0469bc822393e58c9f0d174d57 method = rebase cmdver = 0.4.1 diff --git a/emummc/source/emuMMC/emummc.c b/emummc/source/emuMMC/emummc.c index 49f1ca540..b1c1e1e95 100644 --- a/emummc/source/emuMMC/emummc.c +++ b/emummc/source/emuMMC/emummc.c @@ -328,13 +328,13 @@ uint64_t sdmmc_wrapper_controller_open(int mmc_id) if (_this != NULL) { // Lock eMMC xfer while SD card is being initialized by FS. - if (_this == sdmmc_accessor_get(FS_SDMMC_SD)) + if (mmc_id == FS_SDMMC_SD) mutex_lock_handler(FS_SDMMC_EMMC); // Recursive Mutex, handler will lock SD as well if custom_driver result = _this->vtab->sdmmc_accessor_controller_open(_this); // Unlock eMMC. - if (_this == sdmmc_accessor_get(FS_SDMMC_SD)) + if (mmc_id == FS_SDMMC_SD) mutex_unlock_handler(FS_SDMMC_EMMC); return result;