aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-31 18:14:19 +0000
committerMartin Kiewitz2010-01-31 18:14:19 +0000
commit30bd160ad9964dade270b81c1890dacbd98467ae (patch)
tree0d1a37f559aa2c52087b48c24fa027a8de953ecc /engines
parent8f8c85e7572350f68623f8e817f60bfffd05c624 (diff)
downloadscummvm-rg350-30bd160ad9964dade270b81c1890dacbd98467ae.tar.gz
scummvm-rg350-30bd160ad9964dade270b81c1890dacbd98467ae.tar.bz2
scummvm-rg350-30bd160ad9964dade270b81c1890dacbd98467ae.zip
SCI: added additional decimal output for "vo" command
svn-id: r47768
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index f3cdaa07cf..0b616b772b 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -2986,6 +2986,9 @@ int Console::printObject(reg_t pos) {
reg_t val = obj->getVariable(i);
DebugPrintf("%04x:%04x", PRINT_REG(val));
+ if (!val.segment)
+ DebugPrintf(" (%d)", val.offset);
+
Object *ref = s->_segMan->getObject(val);
if (ref)
DebugPrintf(" (%s)", s->_segMan->getObjectName(val));