aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authormd52011-06-12 15:36:08 +0300
committermd52011-06-12 15:36:08 +0300
commitc5610182a69c60749014fa4175a3365e4b44426c (patch)
treefcad94121cfcf236a10921307b06e71f58bcdfd0 /engines/sci
parent7ab6dfc00e9392e2a1560de05f1d717ec0c79a72 (diff)
downloadscummvm-rg350-c5610182a69c60749014fa4175a3365e4b44426c.tar.gz
scummvm-rg350-c5610182a69c60749014fa4175a3365e4b44426c.tar.bz2
scummvm-rg350-c5610182a69c60749014fa4175a3365e4b44426c.zip
SCI: Some fixes for the find_callk command
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 32cb5459f6..b1b5f81995 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -2954,7 +2954,7 @@ void Console::printKernelCallsFound(int kernelFuncNum, bool showFoundScripts) {
uint16 argc2 = opparams[1];
if (kFuncNum == kernelFuncNum) {
- DebugPrintf("Called from script %d, object %s, method %s(%d) with %d parameters\n",
+ DebugPrintf("Called from script %d, object %s, method %s(%d) with %d bytes for arguments\n",
itr->getNumber(), objName,
_engine->getKernel()->getSelectorName(obj->getFuncSelector(i)).c_str(), i, argc2);
}
@@ -2971,7 +2971,7 @@ void Console::printKernelCallsFound(int kernelFuncNum, bool showFoundScripts) {
// Check for end of function/script
if (offset >= script->getBufSize())
break;
- if (opcode == op_ret)// && offset >= maxJmpOffset)
+ if (opcode == op_ret && offset >= maxJmpOffset)
break;
} // while (true)
} // for (uint16 i = 0; i < obj->getMethodCount(); i++)