Currentslot default is now 0 instead of 1. Win32 - remember last saveslot

This commit is contained in:
adelikat 2009-04-11 13:20:27 +00:00
parent 864afe4264
commit dd643f96e0
4 changed files with 7 additions and 8 deletions

View File

@ -1,8 +1,11 @@
11-apr-2009 - adelikat - made default save slot 0 instead of 1, Win32 - remember last slot used
11-apr-2009 - shinydoofy - sdl - added --pauseframe to pause movie playback on frame x
11-apr-2009 - shinydoofy - sdl - dropped UTFConverter.c from SDL build and added hotkey Q for toggling read-only/read+write movie playback
--version 2.1.0a released----
04-apr-2009 - shinydoofy - fixed fcm->fm2 code once again (this time for good, hopefully). Thanks to Bisqwit!
04-apr-2009 - shinydoofy - Reverted UTF8<->UTF32 code changes to fix up the win32 build for now
01-apr-2009 - adelikat - Beginning 2.1.1
---version 2.1.0 released---
29-mar-2009 - adelikat - Win32 - reverted acmlm's /dll folder change
28-mar-2009 - shinydoofy - sdl - added hotkey Del to toggle mute avi capturing

View File

@ -55,6 +55,7 @@ extern int PPUViewRefresh;
extern int NTViewRefresh;
extern uint8 gNoBGFillColor;
extern bool rightClickEnabled;
extern int CurrentState;
//window positions and sizes:
extern int ChtPosX,ChtPosY;
@ -242,6 +243,7 @@ static CFGSTRUCT fceuconfig[] = {
AC(PPUViewRefresh),
AC(NTViewRefresh),
AC(rightClickEnabled),
AC(CurrentState),
//ACS(memwLastfile[2048]),
ENDCFGSTRUCT
};

View File

@ -619,8 +619,6 @@ struct EMUCMDTABLE FCEUI_CommandTable[]=
{ EMUCMD_SCREENSHOT, EMUCMDTYPE_MISC, FCEUI_SaveSnapshot, 0, 0, "Screenshot", EMUCMDFLAG_TASEDIT },
{ EMUCMD_HIDE_MENU_TOGGLE, EMUCMDTYPE_MISC, FCEUD_HideMenuToggle, 0, 0, "Hide Menu Toggle", EMUCMDFLAG_TASEDIT },
{ EMUCMD_EXIT, EMUCMDTYPE_MISC, FCEUI_DoExit, 0, 0, "Exit", 0},
//adelikat: CaH4e3, perhaps finding the true cause should be on the person who made the change?
//Also, removing the windows only function from this table. This is a core file and should stay compatible with the SDL build
{ EMUCMD_SPEED_SLOWEST, EMUCMDTYPE_SPEED, CommandEmulationSpeed, 0, 0, "Slowest Speed", 0 },
{ EMUCMD_SPEED_SLOWER, EMUCMDTYPE_SPEED, CommandEmulationSpeed, 0, 0, "Speed Down", 0 },
{ EMUCMD_SPEED_NORMAL, EMUCMDTYPE_SPEED, CommandEmulationSpeed, 0, 0, "Normal Speed", 0 },
@ -727,10 +725,6 @@ struct EMUCMDTABLE FCEUI_CommandTable[]=
#define NUM_EMU_CMDS (sizeof(FCEUI_CommandTable)/sizeof(FCEUI_CommandTable[0]))
// jabberwoocky my son, don't be aware lol
// this is much mindfucking thing i ever seen here
// even when i fixed it, there is a lot of possibilities to break all key input stuff with one
// unarranged command enumerator.
static int execcmd, i;
void FCEUI_HandleEmuCommands(TestCommandState* testfn)

View File

@ -332,7 +332,7 @@ static bool ReadStateChunks(std::istream* is, int32 totalsize)
return ret;
}
int CurrentState=1;
int CurrentState=0;
extern int geniestage;