X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fapp.cpp;h=f3481e9ab4e74736de0d01d9a2b91017addc7afb;hb=b74298f2a4540168f8e4a2bbc9fc6fdc7f4afa57;hp=c407149d8c2d3a402cd146905b4833f93ed84341;hpb=331e68678795fd4fc90db4541417ee115053c3ec;p=virtualjaguar diff --git a/src/gui/app.cpp b/src/gui/app.cpp index c407149..f3481e9 100644 --- a/src/gui/app.cpp +++ b/src/gui/app.cpp @@ -19,6 +19,7 @@ #include #include "log.h" #include "mainwin.h" +#include "settings.h" #include "types.h" #ifdef __GCCWIN32__ @@ -29,6 +30,9 @@ // Here's the main application loop--short and simple... int main(int argc, char * argv[]) { + // Normally, this would be read in from the settings module... :-P + vjs.hardwareTypeAlpine = false; + if (argc > 1) { if ((strcmp(argv[1], "--help") == 0) || (strcmp(argv[1], "-h") == 0) @@ -40,6 +44,11 @@ int main(int argc, char * argv[]) "enough demand for it. :-)\n"); return 0; } + if ((strcmp(argv[1], "--alpine") == 0) || (strcmp(argv[1], "-a") == 0)) + { + printf("Alpine Mode enabled.\n"); + vjs.hardwareTypeAlpine = true; + } } Q_INIT_RESOURCE(virtualjaguar); // This must the same name as the exe filename