aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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));