diff options
author | Martin Kiewitz | 2010-01-31 18:14:19 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-31 18:14:19 +0000 |
commit | 30bd160ad9964dade270b81c1890dacbd98467ae (patch) | |
tree | 0d1a37f559aa2c52087b48c24fa027a8de953ecc | |
parent | 8f8c85e7572350f68623f8e817f60bfffd05c624 (diff) | |
download | scummvm-rg350-30bd160ad9964dade270b81c1890dacbd98467ae.tar.gz scummvm-rg350-30bd160ad9964dade270b81c1890dacbd98467ae.tar.bz2 scummvm-rg350-30bd160ad9964dade270b81c1890dacbd98467ae.zip |
SCI: added additional decimal output for "vo" command
svn-id: r47768
-rw-r--r-- | engines/sci/console.cpp | 3 |
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)); |