aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-23 21:13:57 +0000
committerMartin Kiewitz2010-07-23 21:13:57 +0000
commitd92cece58a039b77f6dc8039a453d896dd6f9800 (patch)
tree3f5d3e5cf9707ce3bb5301ecd31da7e95343705f /engines
parentafc872cba8e577f54af2457c4e457e1489fafcbc (diff)
downloadscummvm-rg350-d92cece58a039b77f6dc8039a453d896dd6f9800.tar.gz
scummvm-rg350-d92cece58a039b77f6dc8039a453d896dd6f9800.tar.bz2
scummvm-rg350-d92cece58a039b77f6dc8039a453d896dd6f9800.zip
SCI: some small logkernel changes
svn-id: r51224
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 05164f2f76..ed094b4cd6 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -650,13 +650,13 @@ static void logKernelCall(const KernelFunction *kernelCall, EngineState *s, int
printf(", ");
uint16 regType = kernel->findRegType(argv[parmNr]);
if (regType & SIG_TYPE_NULL)
- printf("NULL");
+ printf("0");
else if (regType & SIG_TYPE_UNINITIALIZED)
printf("UNINIT");
else if (regType & SIG_IS_INVALID)
printf("INVALID");
else if (regType & SIG_TYPE_INTEGER)
- printf("%04x", argv[parmNr].offset);
+ printf("%d", argv[parmNr].offset);
else {
printf("%04x:%04x", PRINT_REG(argv[parmNr]));
switch (regType) {