EVENTRECORDER: Add --screenshot-period to the CLI

This commit is contained in:
Scott Percival 2021-08-20 01:29:57 +08:00 committed by Martin Gerhardy
parent 16545f9cd9
commit 40aadcf139

View File

@ -175,6 +175,8 @@ static const char HELP_STRING[] =
" --record-file-name=FILE Specify record file name\n"
" --disable-display Disable any gfx output. Used for headless events\n"
" playback by Event Recorder\n"
" --screenshot-period=NUM When recording, trigger a screenshot every NUM milliseconds\n"
" (default: 60000)\n"
#endif
"\n"
#if defined(ENABLE_SKY) || defined(ENABLE_QUEEN)
@ -658,6 +660,9 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
DO_LONG_OPTION("record-file-name")
END_OPTION
DO_LONG_OPTION_INT("screenshot-period")
END_OPTION
#endif
DO_LONG_OPTION("opl-driver")