changed names of new command line args

--abstartselectexit     ->  --4buttonexit
--autosavestate         ->  --savestate
--autoloadstate         ->  --loadstate
This commit is contained in:
xhainingx 2013-04-12 01:33:52 +00:00
parent 0ad7a6ed08
commit 6e1137a269
3 changed files with 8 additions and 8 deletions

View File

@ -14,8 +14,8 @@ import platform
opts = Variables(None, ARGUMENTS)
opts.AddVariables(
BoolVariable('DEBUG', 'Build with debugging symbols', 1),
BoolVariable('RELEASE', 'Set to 1 to build for release', 0),
BoolVariable('DEBUG', 'Build with debugging symbols', 0),
BoolVariable('RELEASE', 'Set to 1 to build for release', 1),
BoolVariable('FRAMESKIP', 'Enable frameskipping', 1),
BoolVariable('OPENGL', 'Enable OpenGL support', 1),
BoolVariable('LUA', 'Enable Lua support', 1),

View File

@ -236,8 +236,8 @@ InitConfig()
#endif
config->addOption("autoloadstate", "SDL.AutoLoadState", INVALID_STATE);
config->addOption("autosavestate", "SDL.AutoSaveState", INVALID_STATE);
config->addOption("loadstate", "SDL.AutoLoadState", INVALID_STATE);
config->addOption("savestate", "SDL.AutoSaveState", INVALID_STATE);
#ifdef _GTK
char* home_dir = getenv("HOME");
@ -259,7 +259,7 @@ InitConfig()
config->addOption("newppu", "SDL.NewPPU", 0);
// quit when a+b+select+start is pressed
config->addOption("abstartselectexit", "SDL.ABStartSelectExit", 0);
config->addOption("4buttonexit", "SDL.ABStartSelectExit", 0);
// GamePad 0 - 3
for(unsigned int i = 0; i < GAMEPAD_NUM_DEVICES; i++) {

View File

@ -124,9 +124,9 @@ static const char *DriverUsage=
" session.\n"
"--rp2mic {0|1} Replace Port 2 Start with microphone (Famicom).\n"
"--nogui Don't load the GTK GUI\n"
"--abstartselectexit {0|1} exit the emulator when A+B+Select+Start is pressed\n"
"--autosavestate {0-9|>9} load from the given state when the game is loaded\n"
"--autoloadstate {0-9|>9} save to the given state when the game is closed\n"
"--4buttonexit {0|1} exit the emulator when A+B+Select+Start is pressed\n"
"--savestate {0-9|>9} load from the given state when the game is loaded\n"
"--loadstate {0-9|>9} save to the given state when the game is closed\n"
" to not save/load automatically provide a number\n"
" greater than 9\n";