mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Eject GBA cartridges on stop from the UI
This commit is contained in:
@ -1674,6 +1674,9 @@ void Stop(bool internal)
|
||||
while (EmuStatus != 2);
|
||||
RunningSomething = false;
|
||||
|
||||
// eject any inserted GBA cartridge
|
||||
ROMPath[1][0] = '\0';
|
||||
|
||||
uiWindowSetTitle(MainWindow, "melonDS " MELONDS_VERSION);
|
||||
|
||||
for (int i = 0; i < 9; i++) uiMenuItemDisable(MenuItem_SaveStateSlot[i]);
|
||||
|
Reference in New Issue
Block a user