[Scummvm-cvs-logs] SF.net SVN: scummvm:[49805] scummvm/trunk/engines/sci/console.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Jun 15 13:44:56 CEST 2010
Revision: 49805
http://scummvm.svn.sourceforge.net/scummvm/?rev=49805&view=rev
Author: thebluegr
Date: 2010-06-15 11:44:55 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
Fixed compilation when SCI32 code is not enabled
Modified Paths:
--------------
scummvm/trunk/engines/sci/console.cpp
Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp 2010-06-15 11:38:53 UTC (rev 49804)
+++ scummvm/trunk/engines/sci/console.cpp 2010-06-15 11:44:55 UTC (rev 49805)
@@ -2191,6 +2191,7 @@
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 @@
Common::hexdump((const byte *) array->getRawData(), array->getSize(), 16, 0);
break;
}
+#endif
default: {
int size;
const SegmentRef block = _engine->_gamestate->_segMan->dereference(reg);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list