mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-28 12:11:51 +01:00
fix for issue 435
This commit is contained in:
parent
57ad6fb90c
commit
e22b4ac6df
@ -516,9 +516,6 @@ int BrowserLoadFile()
|
||||
if(!IsValidROM())
|
||||
goto done;
|
||||
|
||||
// store the filename (w/o ext) - used for sram/freeze naming
|
||||
StripExt(Memory.ROMFilename, browserList[browser.selIndex].filename);
|
||||
|
||||
SNESROMSize = 0;
|
||||
S9xDeleteCheats();
|
||||
Memory.LoadROM("ROM");
|
||||
@ -535,6 +532,9 @@ int BrowserLoadFile()
|
||||
else if (GCSettings.AutoLoad == 2)
|
||||
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();
|
||||
loaded = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user