From 3cf691e9f9d0aafad14b76272201a0cfac2e8a76 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 10 Mar 2005 16:29:08 +0000 Subject: Add --force-1x-overlay command line option as discussed in bugreport #1160454 "ALL: Failed assertion when using 1x scaler" svn-id: r17067 --- base/gameDetector.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'base/gameDetector.cpp') diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 861c696651..7a4fe72680 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -98,6 +98,7 @@ static const char USAGE_STRING[] = " --aspect-ratio Enable aspect ratio correction\n" " --render-mode=MODE Enable additional render modes (cga, ega, hercGreen,\n" " hercAmber, amiga)\n" + " --force-1x-overlay Make inner GUI 320x200\n" "\n" #if !defined(DISABLE_SKY) || !defined(DISABLE_QUEEN) " --alt-intro Use alternative intro for CD versions of Beneath a\n" @@ -205,6 +206,7 @@ GameDetector::GameDetector() { #endif _dumpScripts = false; + _force1xOverlay = false; memset(&_game, 0, sizeof(_game)); _plugin = 0; @@ -489,6 +491,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) { ConfMan.set("render_mode", option, kTransientDomain); END_OPTION + DO_LONG_OPTION_BOOL("force-1x-overlay") + _force1xOverlay = true; + END_OPTION + DO_LONG_OPTION("savepath") // TODO: Verify whether the path is valid ConfMan.set("savepath", option, kTransientDomain); -- cgit v1.2.3