aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorEugene Sandulenko2006-01-31 17:52:56 +0000
committerEugene Sandulenko2006-01-31 17:52:56 +0000
commitbfb912dbb1dee64b13731500e25948a00b41d76d (patch)
tree925495659646ef067217e981b9a9aacb2b860945 /base
parent69b2945071b3877b5f54fc93dbcaf32be819991d (diff)
downloadscummvm-rg350-bfb912dbb1dee64b13731500e25948a00b41d76d.tar.gz
scummvm-rg350-bfb912dbb1dee64b13731500e25948a00b41d76d.tar.bz2
scummvm-rg350-bfb912dbb1dee64b13731500e25948a00b41d76d.zip
Add undocumented option --gui-theme for easier theme debugging.
svn-id: r20332
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 91d13e2b38..adab551b3f 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -562,6 +562,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) {
settings["copy_protection"] = boolValue ? "true" : "false";
END_OPTION
+ DO_LONG_OPTION("gui-theme")
+ settings["gui_theme"] = option;
+ END_OPTION
+
#ifndef DISABLE_SCUMM
DO_LONG_OPTION("tempo")
// Use the special value '0' for the base in (int)strtol.