aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-10 16:29:08 +0000
committerEugene Sandulenko2005-03-10 16:29:08 +0000
commit3cf691e9f9d0aafad14b76272201a0cfac2e8a76 (patch)
treee0521bdf7843109f50f10cbc52f301c401c3ee0b /base/gameDetector.cpp
parentcc2c2dd9313530a55aa455238c0194b316521312 (diff)
downloadscummvm-rg350-3cf691e9f9d0aafad14b76272201a0cfac2e8a76.tar.gz
scummvm-rg350-3cf691e9f9d0aafad14b76272201a0cfac2e8a76.tar.bz2
scummvm-rg350-3cf691e9f9d0aafad14b76272201a0cfac2e8a76.zip
Add --force-1x-overlay command line option as discussed in bugreport
#1160454 "ALL: Failed assertion when using 1x scaler" svn-id: r17067
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp6
1 files changed, 6 insertions, 0 deletions
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);