[Scummvm-cvs-logs] SF.net SVN: scummvm:[54379] scummvm/trunk/engines/sci/engine/kmisc.cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Fri Nov 19 14:56:11 CET 2010
Revision: 54379
http://scummvm.svn.sourceforge.net/scummvm/?rev=54379&view=rev
Author: anotherguest
Date: 2010-11-19 13:56:11 +0000 (Fri, 19 Nov 2010)
Log Message:
-----------
SCI : data field is only supported if building for SCI32
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kmisc.cpp
Modified: scummvm/trunk/engines/sci/engine/kmisc.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmisc.cpp 2010-11-19 13:23:33 UTC (rev 54378)
+++ scummvm/trunk/engines/sci/engine/kmisc.cpp 2010-11-19 13:56:11 UTC (rev 54379)
@@ -331,7 +331,10 @@
reg_t kGetConfig(EngineState *s, int argc, reg_t *argv) {
Common::String setting = s->_segMan->getString(argv[0]);
- reg_t data = readSelector(s->_segMan, argv[1], SELECTOR(data));
+ reg_t data;
+#ifdef ENABLE_SCI32
+ data = readSelector(s->_segMan, argv[1], SELECTOR(data));
+#endif
warning("Get config setting %s", setting.c_str());
s->_segMan->strcpy(data, "");
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