mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-17 23:01:51 +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;
|
||||
|
||||
if (SNESROMSize > 0)
|
||||
{
|
||||
Memory.LoadROM ("BLANK.SMC");
|
||||
Memory.LoadSRAM ("BLANK");
|
||||
haverom = 1;
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
WaitPrompt((char*) "Error loading ROM!");
|
||||
}
|
||||
}
|
||||
}
|
||||
redraw = 1;
|
||||
} // End of A
|
||||
if ( (p & PAD_BUTTON_B) || (wp & (WPAD_BUTTON_B | WPAD_CLASSIC_BUTTON_B)) )
|
||||
|
@ -104,6 +104,9 @@ LoadManager ()
|
||||
// load UPS/IPS/PPF patch
|
||||
LoadPatch(GCSettings.LoadMethod);
|
||||
|
||||
Memory.LoadROM ("BLANK.SMC");
|
||||
Memory.LoadSRAM ("BLANK");
|
||||
|
||||
// load SRAM or snapshot
|
||||
if ( GCSettings.AutoLoad == 1 )
|
||||
LoadSRAM(GCSettings.SaveMethod, SILENT);
|
||||
|
Loading…
Reference in New Issue
Block a user