mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 21:14:21 +01:00
IPS patching works now
This commit is contained in:
parent
326c8f988d
commit
8ba952a9eb
@ -503,16 +503,9 @@ 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;
|
||||
|
@ -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