aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-27 08:36:37 +0000
committerTorbjörn Andersson2003-10-27 08:36:37 +0000
commit48f29f8559478ca47fe007e516baab0d19aa3ad8 (patch)
treef91ba6d76ec9fb54a3a15502c93052e82c06b79e /scumm
parenta4d2a47820ad7ce26de1f52a9a11f6d466ed9610 (diff)
downloadscummvm-rg350-48f29f8559478ca47fe007e516baab0d19aa3ad8.tar.gz
scummvm-rg350-48f29f8559478ca47fe007e516baab0d19aa3ad8.tar.bz2
scummvm-rg350-48f29f8559478ca47fe007e516baab0d19aa3ad8.zip
Fixed bug #830772, I hope.
svn-id: r10985
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index ffb733419f..4d9f5da62b 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -588,9 +588,6 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst)
// Use g_scumm from error() ONLY
g_scumm = this;
- // Create debugger
- _debugger = new ScummDebugger(this);
-
// Read settings from the detector & config manager
_debugMode = ConfMan.hasKey("debuglevel");
_debugLevel = ConfMan.getInt("debuglevel");
@@ -641,6 +638,9 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst)
_newgui = g_gui;
+ // Create debugger
+ _debugger = new ScummDebugger(this);
+
_sound = new Sound(this);
_sound->_sound_volume_master = ConfMan.getInt("master_volume");
_sound->_sound_volume_sfx = ConfMan.getInt("sfx_volume");