[Scummvm-cvs-logs] SF.net SVN: scummvm:[47761] scummvm/trunk/engines/sci/sci.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Sun Jan 31 18:30:59 CET 2010
Revision: 47761
http://scummvm.svn.sourceforge.net/scummvm/?rev=47761&view=rev
Author: mthreepwood
Date: 2010-01-31 17:30:58 +0000 (Sun, 31 Jan 2010)
Log Message:
-----------
Fix compile without ENABLE_SCI32 set.
Modified Paths:
--------------
scummvm/trunk/engines/sci/sci.cpp
Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp 2010-01-31 17:19:17 UTC (rev 47760)
+++ scummvm/trunk/engines/sci/sci.cpp 2010-01-31 17:30:58 UTC (rev 47761)
@@ -178,14 +178,14 @@
_gamestate->_gui = 0;
_gamestate->_gui32 = new SciGui32(_gamestate, screen, palette, cache, cursor);
} else {
+#endif
_gamestate->_gfxPorts = new GfxPorts(segMan, screen);
_gamestate->_gui = new SciGui(_gamestate, screen, palette, cache, cursor, _gamestate->_gfxPorts, _audio);
+#ifdef ENABLE_SCI32
_gamestate->_gui32 = 0;
}
-#else
- _gamestate->_ports = new GfxPorts(_segMan, _screen);
- _gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor, _audio);
#endif
+
_gamestate->_gfxPalette = palette;
_gamestate->_gfxScreen = screen;
_gamestate->_gfxCache = cache;
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