[Scummvm-git-logs] scummvm master -> 9030b09ecc0dd2d0b40cd84b02719e48c29c779f
wjp
wjp at usecode.org
Sat Oct 21 19:14:26 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9030b09ecc SCI: Allow lofsa string printing in disasm for all SCI versions
Commit: 9030b09ecc0dd2d0b40cd84b02719e48c29c779f
https://github.com/scummvm/scummvm/commit/9030b09ecc0dd2d0b40cd84b02719e48c29c779f
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2017-10-21T19:13:38+02:00
Commit Message:
SCI: Allow lofsa string printing in disasm for all SCI versions
Changed paths:
engines/sci/engine/scriptdebug.cpp
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 9390296..b4dcbef 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));
More information about the Scummvm-git-logs
mailing list