diff options
| author | Max Horn | 2003-10-14 07:52:34 +0000 |
|---|---|---|
| committer | Max Horn | 2003-10-14 07:52:34 +0000 |
| commit | ebd314a9eca1665918c301a97d60427ded3a5504 (patch) | |
| tree | 2dd89a875b5c4c6fa6308639d7ad3c1a310f5c05 /base | |
| parent | c21d371e9c90349ddcc4fc1c417accccee48e12b (diff) | |
| download | scummvm-rg350-ebd314a9eca1665918c301a97d60427ded3a5504.tar.gz scummvm-rg350-ebd314a9eca1665918c301a97d60427ded3a5504.tar.bz2 scummvm-rg350-ebd314a9eca1665918c301a97d60427ded3a5504.zip | |
fix debug mode 0
svn-id: r10791
Diffstat (limited to 'base')
| -rw-r--r-- | base/gameDetector.cpp | 3 | ||||
| -rw-r--r-- | base/gameDetector.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 2b85fa998c..05aa52573c 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -221,7 +221,6 @@ GameDetector::GameDetector() { ConfMan.registerDefault("joystick_num", -1); ConfMan.registerDefault("confirm_exit", false); - _debugMode = (ConfMan.getInt("debuglevel") >= 0); _dumpScripts = false; _midi_driver = MD_AUTO; @@ -311,7 +310,6 @@ void GameDetector::parseCommandLine(int argc, char **argv) { ConfMan.set("cdrom", (int)strtol(option, 0, 10)); break; case 'd': - _debugMode = true; HANDLE_OPT_OPTION(); if (option != NULL) ConfMan.set("debuglevel", (int)strtol(option, 0, 10)); @@ -478,7 +476,6 @@ ShowHelpAndExit: void GameDetector::setTarget(const String &name) { _targetName = name; ConfMan.setActiveDomain(name); - _debugMode = (ConfMan.getInt("debuglevel") >= 0); } int GameDetector::parseGraphicsMode(const String &str) { diff --git a/base/gameDetector.h b/base/gameDetector.h index a236d0b479..3e5eef7fca 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -106,7 +106,6 @@ public: GameSettings _game; const Plugin *_plugin; - bool _debugMode; bool _dumpScripts; bool _saveconfig; |
