Skip to content

Commit

Permalink
SCI: Allow lofsa string printing in disasm for all SCI versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp committed Oct 21, 2017
1 parent fab43f0 commit 9030b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sci/engine/scriptdebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 9030b09

Please sign in to comment.