[Scummvm-cvs-logs] scummvm master -> c5610182a69c60749014fa4175a3365e4b44426c

bluegr md5 at scummvm.org
Sun Jun 12 14:38:53 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c5610182a6 SCI: Some fixes for the find_callk command


Commit: c5610182a69c60749014fa4175a3365e4b44426c
    https://github.com/scummvm/scummvm/commit/c5610182a69c60749014fa4175a3365e4b44426c
Author: md5 (md5 at scummvm.org)
Date: 2011-06-12T05:36:08-07:00

Commit Message:
SCI: Some fixes for the find_callk command

Changed paths:
    engines/sci/console.cpp



diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 32cb545..b1b5f81 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++)






More information about the Scummvm-git-logs mailing list