aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2002-12-21 00:27:10 +0000
committerTravis Howell2002-12-21 00:27:10 +0000
commit368a9917f7c05a2fbb780df7634b00e57aa51ab3 (patch)
tree59799f381e6b333415ea68e27327c4763c3b3265 /scumm
parent7de2c661940c2df1d6f559c7f507ee99c86fbbf6 (diff)
downloadscummvm-rg350-368a9917f7c05a2fbb780df7634b00e57aa51ab3.tar.gz
scummvm-rg350-368a9917f7c05a2fbb780df7634b00e57aa51ab3.tar.bz2
scummvm-rg350-368a9917f7c05a2fbb780df7634b00e57aa51ab3.zip
Add debug command line fix and config option, patch #655822
svn-id: r6034
Diffstat (limited to 'scumm')
-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();