[Scummvm-git-logs] scummvm master -> e3409e8cb3f30aac2fc9ec425c9632bcf84cd954

sev- noreply at scummvm.org
Wed Nov 8 11:26:08 UTC 2023


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:
e3409e8cb3 SLUDGE: Add function number to the trace output


Commit: e3409e8cb3f30aac2fc9ec425c9632bcf84cd954
    https://github.com/scummvm/scummvm/commit/e3409e8cb3f30aac2fc9ec425c9632bcf84cd954
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-11-08T12:26:00+01:00

Commit Message:
SLUDGE: Add function number to the trace output

Changed paths:
    engines/sludge/function.cpp


diff --git a/engines/sludge/function.cpp b/engines/sludge/function.cpp
index 7ef43dcfd96..3b2db60910f 100644
--- a/engines/sludge/function.cpp
+++ b/engines/sludge/function.cpp
@@ -230,7 +230,7 @@ bool continueFunction(LoadedFunction *fun) {
 			printLocals(fun->localVars, fun->numLocals);
 		}
 
-		debugC(1, kSludgeDebugStackMachine, "Executing command line %i: %s(%s)", fun->runThisLine, sludgeText[com], getCommandParameter(com, param).c_str());
+		debugC(1, kSludgeDebugStackMachine, "Executing command function %d line %i: %s(%s)", fun->originalNumber, fun->runThisLine, sludgeText[com], getCommandParameter(com, param).c_str());
 
 		if (numBIFNames) {
 			setFatalInfo((fun->originalNumber < numUserFunc) ? allUserFunc[fun->originalNumber] : "Unknown user function", (com < numSludgeCommands) ? sludgeText[com] : ERROR_UNKNOWN_MCODE);




More information about the Scummvm-git-logs mailing list