mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Fix unmounting drives not responding immediately (#127)
This commit is contained in:
parent
48881bb810
commit
94682d63e0
@ -267,7 +267,7 @@ void driveMenu (void) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while (!(pressed & (KEY_UP | KEY_DOWN | KEY_LEFT | KEY_RIGHT | KEY_A | KEY_R | KEY_START
|
} while (!(pressed & (KEY_UP | KEY_DOWN | KEY_LEFT | KEY_RIGHT | KEY_A | KEY_B | KEY_X | KEY_L | KEY_START
|
||||||
#ifdef SCREENSWAP
|
#ifdef SCREENSWAP
|
||||||
| KEY_TOUCH
|
| KEY_TOUCH
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -650,11 +650,7 @@ std::string browseForFile (void) {
|
|||||||
if (REG_SCFG_MC != stored_SCFG_MC) {
|
if (REG_SCFG_MC != stored_SCFG_MC) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} while (!(pressed & ~(KEY_R | KEY_TOUCH | KEY_LID)));
|
||||||
if ((held & KEY_R) && (pressed & KEY_L)) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
} while (!pressed);
|
|
||||||
|
|
||||||
if (isDSiMode() && !pressed && currentDrive == Drive::flashcard && REG_SCFG_MC == 0x11 && flashcardMounted) {
|
if (isDSiMode() && !pressed && currentDrive == Drive::flashcard && REG_SCFG_MC == 0x11 && flashcardMounted) {
|
||||||
flashcardUnmount();
|
flashcardUnmount();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user