Fixed compilation when SCI32 code is not enabled

svn-id: r49805
This commit is contained in:
Filippos Karapetis 2010-06-15 11:44:55 +00:00
parent 103cb1b3ba
commit 5b484b5be7

View File

@ -2191,6 +2191,7 @@ bool Console::cmdViewReference(int argc, const char **argv) {
break;
case KSIG_REF: {
switch (_engine->_gamestate->_segMan->getSegmentType(reg.segment)) {
#ifdef ENABLE_SCI32
case SEG_TYPE_STRING: {
const SciString *str = _engine->_gamestate->_segMan->lookupString(reg);
Common::hexdump((const byte *) str->getRawData(), str->getSize(), 16, 0);
@ -2201,6 +2202,7 @@ bool Console::cmdViewReference(int argc, const char **argv) {
Common::hexdump((const byte *) array->getRawData(), array->getSize(), 16, 0);
break;
}
#endif
default: {
int size;
const SegmentRef block = _engine->_gamestate->_segMan->dereference(reg);