mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-18 07:11:50 +01:00
IPS patching works now
This commit is contained in:
parent
326c8f988d
commit
8ba952a9eb
@ -503,18 +503,11 @@ int FileSelector (int method)
|
|||||||
inSz = false;
|
inSz = false;
|
||||||
|
|
||||||
if (SNESROMSize > 0)
|
if (SNESROMSize > 0)
|
||||||
{
|
|
||||||
Memory.LoadROM ("BLANK.SMC");
|
|
||||||
Memory.LoadSRAM ("BLANK");
|
|
||||||
haverom = 1;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
WaitPrompt((char*) "Error loading ROM!");
|
WaitPrompt((char*) "Error loading ROM!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
redraw = 1;
|
redraw = 1;
|
||||||
} // End of A
|
} // End of A
|
||||||
if ( (p & PAD_BUTTON_B) || (wp & (WPAD_BUTTON_B | WPAD_CLASSIC_BUTTON_B)) )
|
if ( (p & PAD_BUTTON_B) || (wp & (WPAD_BUTTON_B | WPAD_CLASSIC_BUTTON_B)) )
|
||||||
|
@ -104,6 +104,9 @@ LoadManager ()
|
|||||||
// load UPS/IPS/PPF patch
|
// load UPS/IPS/PPF patch
|
||||||
LoadPatch(GCSettings.LoadMethod);
|
LoadPatch(GCSettings.LoadMethod);
|
||||||
|
|
||||||
|
Memory.LoadROM ("BLANK.SMC");
|
||||||
|
Memory.LoadSRAM ("BLANK");
|
||||||
|
|
||||||
// load SRAM or snapshot
|
// load SRAM or snapshot
|
||||||
if ( GCSettings.AutoLoad == 1 )
|
if ( GCSettings.AutoLoad == 1 )
|
||||||
LoadSRAM(GCSettings.SaveMethod, SILENT);
|
LoadSRAM(GCSettings.SaveMethod, SILENT);
|
||||||
|
Loading…
Reference in New Issue
Block a user