win32 - open rom runs close rom first, fixes bug where sav file was not getting updated

This commit is contained in:
adelikat 2008-12-08 17:25:29 +00:00
parent 2b34f2624c
commit 6554177813
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
---version 2.0.4 yet to be released--- ---version 2.0.4 yet to be released---
08-dec-2008 - adelikat - win32 - opening a rom runs closerom first, fixes bug where new sav file was not getting loaded
07-dec-2008 - adelikat - win32 - turbo now employs frame skip 07-dec-2008 - adelikat - win32 - turbo now employs frame skip
30-nov-2008 - punkrockguy - commit 1000 30-nov-2008 - punkrockguy - commit 1000
30-nov-2008 - punkrockguy - fixed gcc compile error 30-nov-2008 - punkrockguy - fixed gcc compile error

View File

@ -621,6 +621,7 @@ void CloseGame()
void ALoad(char *nameo, char* innerFilename) void ALoad(char *nameo, char* innerFilename)
{ {
if (GameInfo) FCEUI_CloseGame();
if(FCEUI_LoadGameVirtual(nameo, 1)) if(FCEUI_LoadGameVirtual(nameo, 1))
{ {
pal_emulation = FCEUI_GetCurrentVidSystem(0, 0); pal_emulation = FCEUI_GetCurrentVidSystem(0, 0);