mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-02-25 15:43:36 +01:00
fix for issue 435
This commit is contained in:
parent
57ad6fb90c
commit
e22b4ac6df
@ -516,9 +516,6 @@ int BrowserLoadFile()
|
|||||||
if(!IsValidROM())
|
if(!IsValidROM())
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
// store the filename (w/o ext) - used for sram/freeze naming
|
|
||||||
StripExt(Memory.ROMFilename, browserList[browser.selIndex].filename);
|
|
||||||
|
|
||||||
SNESROMSize = 0;
|
SNESROMSize = 0;
|
||||||
S9xDeleteCheats();
|
S9xDeleteCheats();
|
||||||
Memory.LoadROM("ROM");
|
Memory.LoadROM("ROM");
|
||||||
@ -535,6 +532,9 @@ int BrowserLoadFile()
|
|||||||
else if (GCSettings.AutoLoad == 2)
|
else if (GCSettings.AutoLoad == 2)
|
||||||
LoadSnapshotAuto(SILENT);
|
LoadSnapshotAuto(SILENT);
|
||||||
|
|
||||||
|
// store the filename (w/o ext) - used for sram/freeze naming
|
||||||
|
StripExt(Memory.ROMFilename, browserList[browser.selIndex].filename);
|
||||||
|
strcpy(loadedFile, browserList[browser.selIndex].filename);
|
||||||
ResetBrowser();
|
ResetBrowser();
|
||||||
loaded = 1;
|
loaded = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user