aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2010-06-10 15:25:18 +0000
committerMax Horn2010-06-10 15:25:18 +0000
commit8295eb09cd7f0a62359631ab4b1975b2b6364bf3 (patch)
treeb245ace4db7f95e32a1d3f6ed6eb0d80fa404aa7 /engines
parent6ad04a4a96b0290125e33535f84a98e4d79dff2c (diff)
downloadscummvm-rg350-8295eb09cd7f0a62359631ab4b1975b2b6364bf3.tar.gz
scummvm-rg350-8295eb09cd7f0a62359631ab4b1975b2b6364bf3.tar.bz2
scummvm-rg350-8295eb09cd7f0a62359631ab4b1975b2b6364bf3.zip
SCI: Fix Console::cmdValueType to handle all possible reg types
svn-id: r49577
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index c2ea377f9b..f5a1880bf5 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -1911,9 +1911,11 @@ bool Console::cmdValueType(int argc, const char **argv) {
break;
case KSIG_ARITHMETIC:
DebugPrintf("Arithmetic");
+ case KSIG_ARITHMETIC | KSIG_NULL:
+ DebugPrintf("Null");
break;
default:
- DebugPrintf("Erroneous unknown type %02x(%d decimal)\n", t, t);
+ DebugPrintf("Erroneous unknown type 0x%02x (%d decimal)\n", t, t);
}
return true;