mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-09 15:19:26 +01:00
This commit is contained in:
parent
95f1603592
commit
e10467ab66
@ -482,11 +482,6 @@ int BrowserLoadFile()
|
|||||||
if(!IsValidROM())
|
if(!IsValidROM())
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
strcpy(loadedFile, browserList[browser.selIndex].filename);
|
|
||||||
|
|
||||||
// store the filename (w/o ext) - used for ram/state naming
|
|
||||||
StripExt(romFilename, browserList[browser.selIndex].filename);
|
|
||||||
|
|
||||||
loadingFile = true;
|
loadingFile = true;
|
||||||
|
|
||||||
if(!inSz)
|
if(!inSz)
|
||||||
@ -529,6 +524,11 @@ int BrowserLoadFile()
|
|||||||
LoadStateAuto(SILENT);
|
LoadStateAuto(SILENT);
|
||||||
|
|
||||||
ResetNES();
|
ResetNES();
|
||||||
|
|
||||||
|
// store the filename (w/o ext) - used for ram/state naming
|
||||||
|
StripExt(romFilename, browserList[browser.selIndex].filename);
|
||||||
|
strcpy(loadedFile, browserList[browser.selIndex].filename);
|
||||||
|
|
||||||
ResetBrowser();
|
ResetBrowser();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user