aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2017-10-21 19:12:44 +0200
committerWillem Jan Palenstijn2017-10-21 19:13:38 +0200
commit9030b09ecc0dd2d0b40cd84b02719e48c29c779f (patch)
tree19fa5bf056fc35eba3c29474119909cc6c0e5bd1 /engines
parentfab43f0f714a3bcfc314d7da66430e75c07b2a50 (diff)
downloadscummvm-rg350-9030b09ecc0dd2d0b40cd84b02719e48c29c779f.tar.gz
scummvm-rg350-9030b09ecc0dd2d0b40cd84b02719e48c29c779f.tar.bz2
scummvm-rg350-9030b09ecc0dd2d0b40cd84b02719e48c29c779f.zip
SCI: Allow lofsa string printing in disasm for all SCI versions
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/scriptdebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 93902965d7..b4dcbef0d4 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -264,7 +264,7 @@ reg_t disassemble(EngineState *s, reg32_t pos, const Object *obj, bool printBWTa
reg_t addr;
addr.setSegment(retval.getSegment());
addr.setOffset(offset);
- if (getSciVersion() == SCI_VERSION_3 && !s->_segMan->isObject(addr)) {
+ if (!s->_segMan->isObject(addr)) {
debugN("\t\"%s\"", s->_segMan->derefString(addr));
} else {
debugN("\t%s", s->_segMan->getObjectName(addr));