Keep GBA carts loaded when booting to firmware

This commit is contained in:
Raphaël Zumer 2019-12-08 15:55:06 -05:00
parent 1da9b3806c
commit 91bf62a1d4
1 changed files with 6 additions and 0 deletions

View File

@ -2065,6 +2065,12 @@ void OnRun(uiMenuItem* item, uiWindow* window, void* blarg)
{
ROMPath[0][0] = '\0';
NDS::LoadBIOS();
if (ROMPath[1][0] != '\0')
{
SetupSRAMPath(1);
NDS::LoadGBAROM(ROMPath[1], SRAMPath[1]);
}
}
Run();