aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");