aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-20 18:56:22 +0000
committerFilippos Karapetis2008-05-20 18:56:22 +0000
commit970f7e7c937b9e809ee03acd8225b2142840430c (patch)
treefba3b579a5361718a1e65e95aaa57c7aeffc9d61 /engines
parent141215136f9d5277cce77dfdd03f2a49b4e38f3b (diff)
downloadscummvm-rg350-970f7e7c937b9e809ee03acd8225b2142840430c.tar.gz
scummvm-rg350-970f7e7c937b9e809ee03acd8225b2142840430c.tar.bz2
scummvm-rg350-970f7e7c937b9e809ee03acd8225b2142840430c.zip
Some updates to the script dumper
svn-id: r32200
Diffstat (limited to 'engines')
-rw-r--r--engines/made/script.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/made/script.cpp b/engines/made/script.cpp
index d757a21b50..7d7ebc83cd 100644
--- a/engines/made/script.cpp
+++ b/engines/made/script.cpp
@@ -431,9 +431,6 @@ void ScriptInterpreter::cmd_return() {
return;
}
- if (_dumpScripts)
- return;
-
int16 funcResult = _stack.top();
_stack.setStackPos(_localStackPos);
_localStackPos = kScriptStackLimit - _stack.pop();
@@ -450,9 +447,6 @@ void ScriptInterpreter::cmd_call() {
debug(4, "\nENTER: stackPtr = %d; _localStackPos = %d", _stack.getStackPos(), _localStackPos);
byte argc = readByte();
- if (_dumpScripts)
- return;
-
_stack.push(argc);
_stack.push(_codeIp - _codeBase);
_stack.push(_runningScriptObjectIndex);
@@ -573,9 +567,6 @@ void ScriptInterpreter::cmd_send() {
debug(4, "argc = %d", argc);
- if (_dumpScripts)
- return;
-
_stack.push(argc);
_stack.push(_codeIp - _codeBase);
_stack.push(_runningScriptObjectIndex);