IPS patching works now

This commit is contained in:
dborth 2008-10-31 03:57:24 +00:00
parent 326c8f988d
commit 8ba952a9eb
2 changed files with 3 additions and 7 deletions

View File

@ -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;

View File

@ -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);