[Scummvm-cvs-logs] SF.net SVN: scummvm:[41963] scummvm/trunk/engines/kyra/screen_lol.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Jun 29 22:16:59 CEST 2009
Revision: 41963
http://scummvm.svn.sourceforge.net/scummvm/?rev=41963&view=rev
Author: lordhoto
Date: 2009-06-29 20:16:59 +0000 (Mon, 29 Jun 2009)
Log Message:
-----------
Fix LoL cursor in DOS version.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/screen_lol.cpp
Modified: scummvm/trunk/engines/kyra/screen_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen_lol.cpp 2009-06-29 19:02:15 UTC (rev 41962)
+++ scummvm/trunk/engines/kyra/screen_lol.cpp 2009-06-29 20:16:59 UTC (rev 41963)
@@ -995,6 +995,9 @@
}
void Screen_LoL::postProcessCursor(uint8 *data, int w, int h, int pitch) {
+ if (!_use16ColorMode)
+ return;
+
while (h--) {
for (int i = 0; i < w; ++i) {
if (*data != _cursorColorKey)
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