aboutsummaryrefslogtreecommitdiff
path: root/scumm/scummvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r--scumm/scummvm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index a2e8acd257..e5e2221ce4 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -49,6 +49,7 @@ Scumm *g_scumm = 0;
ScummDebugger g_debugger;
extern NewGui *g_gui;
+extern uint16 _debugLevel;
Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst)
{
@@ -79,6 +80,7 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst)
g_scumm = this;
_debugMode = detector->_debugMode;
+ _debugLevel = detector->_debugLevel;
_bootParam = detector->_bootParam;
_exe_name = (char*)detector->_gameRealName.c_str();
_game_name = (char*)detector->_gameFileName.c_str();