this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix horribly broken command line parsing (#2578)

authored by

Gargaj and committed by
GitHub
063758b7 b62bd79c

+7 -7
+7 -7
src/studio/studio.h
··· 68 68 #endif 69 69 70 70 #define CMD_PARAMS_LIST(macro) \ 71 - macro(skip, bool, BOOLEAN, "", "skip startup animation") \ 71 + macro(skip, int, BOOLEAN, "", "skip startup animation") \ 72 72 macro(volume, s32, INTEGER, "=<int>", "global volume value [0-15]") \ 73 - macro(cli, bool, BOOLEAN, "", "console only output") \ 74 - macro(fullscreen, bool, BOOLEAN, "", "enable fullscreen mode") \ 75 - macro(vsync, bool, BOOLEAN, "", "enable VSYNC") \ 76 - macro(soft, bool, BOOLEAN, "", "use software rendering") \ 73 + macro(cli, int, BOOLEAN, "", "console only output") \ 74 + macro(fullscreen, int, BOOLEAN, "", "enable fullscreen mode") \ 75 + macro(vsync, int, BOOLEAN, "", "enable VSYNC") \ 76 + macro(soft, int, BOOLEAN, "", "use software rendering") \ 77 77 macro(fs, char*, STRING, "=<str>", "path to the file system folder") \ 78 78 macro(scale, s32, INTEGER, "=<int>", "main window scale") \ 79 79 macro(cmd, char*, STRING, "=<str>", "run commands in the console") \ 80 - macro(keepcmd, bool, BOOLEAN, "", "re-execute commands on every run") \ 81 - macro(version, bool, BOOLEAN, "", "print program version") \ 80 + macro(keepcmd, int, BOOLEAN, "", "re-execute commands on every run") \ 81 + macro(version, int, BOOLEAN, "", "print program version") \ 82 82 CRT_CMD_PARAM(macro) 83 83 84 84 #define SHOW_TOOLTIP(STUDIO, FORMAT, ...) \