mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
Fixed compilation when SCI32 code is not enabled
svn-id: r49805
This commit is contained in:
parent
103cb1b3ba
commit
5b484b5be7
@ -2191,6 +2191,7 @@ bool Console::cmdViewReference(int argc, const char **argv) {
|
|||||||
break;
|
break;
|
||||||
case KSIG_REF: {
|
case KSIG_REF: {
|
||||||
switch (_engine->_gamestate->_segMan->getSegmentType(reg.segment)) {
|
switch (_engine->_gamestate->_segMan->getSegmentType(reg.segment)) {
|
||||||
|
#ifdef ENABLE_SCI32
|
||||||
case SEG_TYPE_STRING: {
|
case SEG_TYPE_STRING: {
|
||||||
const SciString *str = _engine->_gamestate->_segMan->lookupString(reg);
|
const SciString *str = _engine->_gamestate->_segMan->lookupString(reg);
|
||||||
Common::hexdump((const byte *) str->getRawData(), str->getSize(), 16, 0);
|
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);
|
Common::hexdump((const byte *) array->getRawData(), array->getSize(), 16, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
default: {
|
default: {
|
||||||
int size;
|
int size;
|
||||||
const SegmentRef block = _engine->_gamestate->_segMan->dereference(reg);
|
const SegmentRef block = _engine->_gamestate->_segMan->dereference(reg);
|
||||||
|
Loading…
Reference in New Issue
Block a user