[Scummvm-git-logs] scummvm master -> 98acee333ade1dd550924e321ee537eae12c3b5d

sluicebox 22204938+sluicebox at users.noreply.github.com
Fri Oct 22 17:54:26 UTC 2021


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:
98acee333a SCI: Fix class_table debugging command output


Commit: 98acee333ade1dd550924e321ee537eae12c3b5d
    https://github.com/scummvm/scummvm/commit/98acee333ade1dd550924e321ee537eae12c3b5d
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-10-22T12:53:48-05:00

Commit Message:
SCI: Fix class_table debugging command output

Changed paths:
    engines/sci/console.cpp


diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 9807848e85..87fccc747b 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -1673,7 +1673,9 @@ bool Console::cmdClassTable(int argc, const char **argv) {
 						className,
 						PRINT_REG(temp.reg),
 						temp.script);
-			} else debugPrintf(" Class 0x%x (not loaded; can't get name) (script %d)\n", i, temp.script);
+			}
+		} else if (argc == 1) {
+			debugPrintf(" Class 0x%x (not loaded; can't get name) (script %d)\n", i, temp.script);
 		}
 	}
 




More information about the Scummvm-git-logs mailing list