SF case 2040448 View Slots bug - does not include new savestate naming

This commit is contained in:
zeromus 2008-08-07 04:10:41 +00:00
parent 685c32af88
commit ae0e3a5db4
4 changed files with 3 additions and 9 deletions

View File

@ -1,5 +1,7 @@
---version 2.0.2 released--- ---version 2.0.2 released---
06-aug-2008 - zeromus - SF case 2040448 (View Slots bug - does not include new savestate naming)
06-aug-2008 - zeromus - restore the debugger snap functionality
06-aug-2008 - zeromus - add memory.readbyterange to emulua 06-aug-2008 - zeromus - add memory.readbyterange to emulua
06-aug-2008 - zeromus - auto-fill .fcs extension in save state as dialog 06-aug-2008 - zeromus - auto-fill .fcs extension in save state as dialog
06-aug-2008 - zeromus - mmc5 - 64KB games now work correctly 06-aug-2008 - zeromus - mmc5 - 64KB games now work correctly

View File

@ -407,7 +407,6 @@ endlseq:
OpenGenie(); OpenGenie();
PowerNES(); PowerNES();
FCEUSS_CheckStates();
if(GameInfo->type!=GIT_NSF) if(GameInfo->type!=GIT_NSF)
FCEU_LoadGamePalette(); FCEU_LoadGamePalette();

View File

@ -421,14 +421,6 @@ void FCEUI_SetDirOverride(int which, char *n)
{ {
odirs[which] = n; odirs[which] = n;
} }
if(GameInfo) //Rebuild cache of present states/movies.
{
if(which==FCEUIOD_STATES)
{
FCEUSS_CheckStates();
}
}
} }
#ifndef HAVE_ASPRINTF #ifndef HAVE_ASPRINTF

View File

@ -635,6 +635,7 @@ void FCEUI_SelectStateNext(int n)
int FCEUI_SelectState(int w, int show) int FCEUI_SelectState(int w, int show)
{ {
FCEUSS_CheckStates();
int oldstate=CurrentState; int oldstate=CurrentState;
if(w == -1) { StateShow = 0; return 0; } //mbg merge 7/17/06 had to make return a value if(w == -1) { StateShow = 0; return 0; } //mbg merge 7/17/06 had to make return a value