aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-04-20 14:28:25 +0000
committerJonathan Gray2003-04-20 14:28:25 +0000
commit90dd401eab37150f6097c1620257d60cd5f1375c (patch)
treeff5612afb6763464653cfb4f2b588a687e66632e /scumm/debugger.cpp
parent303a48dbbc42b8fce19d5310b87ce1edad03ecd8 (diff)
downloadscummvm-rg350-90dd401eab37150f6097c1620257d60cd5f1375c.tar.gz
scummvm-rg350-90dd401eab37150f6097c1620257d60cd5f1375c.tar.bz2
scummvm-rg350-90dd401eab37150f6097c1620257d60cd5f1375c.zip
work around strange problem that breaks fbpack when _showStack is a bool...
svn-id: r7027
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r--scumm/debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 5cedd84902..2a8a8f6e4b 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -335,7 +335,7 @@ bool ScummDebugger::Cmd_Show(int argc, const char **argv) {
_s->_hexdumpScripts = true;
Debug_Printf("Script hex dumping on\n");
} else if (!strncmp(argv[1], "sta", 3)) {
- _s->_showStack = true;
+ _s->_showStack = 1;
Debug_Printf("Stack tracing on\n");
} else {
Debug_Printf("Unknown show parameter '%s'\n", argv[1]);
@@ -354,7 +354,7 @@ bool ScummDebugger::Cmd_Hide(int argc, const char **argv) {
_s->_hexdumpScripts = false;
Debug_Printf("Script hex dumping off\n");
} else if (!strncmp(argv[1], "sta", 3)) {
- _s->_showStack = false;
+ _s->_showStack = 0;
Debug_Printf("Stack tracing off\n");
} else {
Debug_Printf("Unknown hide parameter '%s'\n", argv[1]);