SCI: Allow lofsa string printing in disasm for all SCI versions

This commit is contained in:
Willem Jan Palenstijn 2017-10-21 19:12:44 +02:00
parent fab43f0f71
commit 9030b09ecc

View File

@ -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));