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 /scumm | |
| 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 'scumm')
| -rw-r--r-- | scumm/scummvm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 43a04876ab..e691797ad5 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -595,7 +595,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst) _debugger = new ScummDebugger(this); // Read settings from the detector & config manager - _debugMode = detector->_debugMode; + _debugMode = ConfMan.hasKey("debuglevel"); _debugLevel = ConfMan.getInt("debuglevel"); _dumpScripts = detector->_dumpScripts; _bootParam = ConfMan.getInt("boot_param"); @@ -887,7 +887,7 @@ void ScummEngine::launch() { VAR(VAR_VERSION) = 21; if (!((_features & GF_MACINTOSH) && (_version == 3))) { - // This is the for the Mac version of Indy3/Loom + // This is NOT for the Mac version of Indy3/Loom VAR(VAR_DEBUGMODE) = _debugMode; } } @@ -1272,7 +1272,7 @@ int ScummEngine::scummLoop(int delta) { VAR(VAR_MOUSE_X) = _mouse.x; VAR(VAR_MOUSE_Y) = _mouse.y; if ((_features & GF_MACINTOSH) && (_version == 3)) { - // This is the for the Mac version of Indy3/Loom + // This is for the Mac version of Indy3/Loom VAR(VAR_DEBUGMODE) = _debugMode; } } |
