X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/a89c592b8f3c485e444512bb3aea24468b66da0b..HEAD:/src/gui/app.cpp diff --git a/src/gui/app.cpp b/src/gui/app.cpp index 63a2501..bc56752 100644 --- a/src/gui/app.cpp +++ b/src/gui/app.cpp @@ -18,12 +18,13 @@ // JPM 09/ /2017 Added option (--dram-max) to support 8MB ram (which doesn't exist) // JPM Sept./2017 Added the 'Rx' word to the emulator name, updated the credits line, added option (--es-all, --es-ui, --es-alpine & --es-debugger) to support the erase settings // JPM Oct./2018 Added the Rx version's contact in the help text, added timer initialisation in the SDL_Init +// JPM Apr./2019 Fixed a command line option duplication // #include "app.h" #include -#include +#include #include "gamepad.h" #include "log.h" #include "mainwin.h" @@ -173,7 +174,7 @@ bool ParseCommandLine(int argc, char * argv[]) if ((strcmp(argv[i], "--help") == 0) || (strcmp(argv[i], "-h") == 0) || (strcmp(argv[i], "-?") == 0)) { printf( - "Virtual Jaguar " VJ_RELEASE_VERSION " (" VJ_RELEASE_SUBVERSION ") Rx\n" + "Virtual Jaguar " VJ_RELEASE_VERSION " (" VJ_RELEASE_SUBVERSION ") Rx - " __DATE__ "\n" "Based upon Virtual Jaguar core v1.0.0 by David Raingeard.\n" "Based upon the work by James Hammons (Linux/WIN32), Niels Wagenaar (Linux/WIN32),\n" "Carwin Jones (BeOS), and Adam Green (MacOS)\n" @@ -187,7 +188,7 @@ bool ParseCommandLine(int argc, char * argv[]) " ---------------- -----------------------------------\n" " Name of file to autoload\n" " --alpine -a Put Virtual Jaguar into Alpine mode\n" - " --debugger -d Put Virtual Jaguar into Debugger mode\n" + " --debugger -D Put Virtual Jaguar into Debugger mode\n" " --pal -p PAL mode\n" " --ntsc -n NTSC mode\n" " --dram-max Set DRAM size to 8MB\n" @@ -252,7 +253,7 @@ bool ParseCommandLine(int argc, char * argv[]) } // Debugger mode - if ((strcmp(argv[i], "--debugger") == 0) || (strcmp(argv[i], "-d") == 0)) + if ((strcmp(argv[i], "--debugger") == 0) || (strcmp(argv[i], "-D") == 0)) { printf("Debugger mode enabled.\n"); vjs.softTypeDebugger = true;