mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Fix failing to read flashcard if RAM drive removed (#154)
This commit is contained in:
parent
9be421880f
commit
a088d64b80
@ -283,7 +283,7 @@ void driveMenu (void) {
|
|||||||
if (*(u8*)(0x080000B2) != gbaFixedValue) {
|
if (*(u8*)(0x080000B2) != gbaFixedValue) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(driveRemoved(Drive::ramDrive)) {
|
if(ramdriveMounted && driveRemoved(Drive::ramDrive)) {
|
||||||
currentDrive = Drive::ramDrive;
|
currentDrive = Drive::ramDrive;
|
||||||
chdir("ram:/");
|
chdir("ram:/");
|
||||||
ramdriveUnmount();
|
ramdriveUnmount();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user