ALL: Document GRIM's engine-speed command line argument
Also, move it in the ENABLE_GRIM section.
This commit is contained in:
parent
7e73c9b963
commit
eb192cda0d
2 changed files with 6 additions and 4 deletions
|
@ -137,6 +137,8 @@ static const char HELP_STRING[] =
|
|||
#ifdef ENABLE_GRIM
|
||||
" --dimuse-tempo=NUM Set internal Digital iMuse tempo (10 - 100) per second\n"
|
||||
" (default: 10)\n"
|
||||
" --engine-speed=NUM Set frame per second limit (0 - 100), 0 = no limit\n"
|
||||
" (default: 60)\n"
|
||||
#endif
|
||||
;
|
||||
#endif
|
||||
|
@ -208,6 +210,7 @@ void registerDefaults() {
|
|||
|
||||
#ifdef ENABLE_GRIM
|
||||
ConfMan.registerDefault("dimuse_tempo", 10);
|
||||
ConfMan.registerDefault("engine_speed", 60);
|
||||
#endif
|
||||
|
||||
// Miscellaneous
|
||||
|
@ -496,9 +499,6 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
|
|||
DO_LONG_OPTION_BOOL("disable-sdl-parachute")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION("engine-speed")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION_BOOL("multi-midi")
|
||||
END_OPTION
|
||||
|
||||
|
@ -569,6 +569,9 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
|
|||
#ifdef ENABLE_GRIM
|
||||
DO_LONG_OPTION_INT("dimuse-tempo")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION_INT("engine-speed")
|
||||
END_OPTION
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue