[Scummvm-cvs-logs] SF.net SVN: scummvm:[45404] scummvm/trunk/engines/scumm/cursor.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Oct 26 13:35:15 CET 2009
Revision: 45404
http://scummvm.svn.sourceforge.net/scummvm/?rev=45404&view=rev
Author: Kirben
Date: 2009-10-26 12:35:15 +0000 (Mon, 26 Oct 2009)
Log Message:
-----------
Fix cursor image in PCE version of Loom.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/cursor.cpp
Modified: scummvm/trunk/engines/scumm/cursor.cpp
===================================================================
--- scummvm/trunk/engines/scumm/cursor.cpp 2009-10-26 12:29:57 UTC (rev 45403)
+++ scummvm/trunk/engines/scumm/cursor.cpp 2009-10-26 12:35:15 UTC (rev 45404)
@@ -552,7 +552,7 @@
for (j = 0; j < 16; j++) {
if (src[i] & (1 << j)) {
if (_bytesPerPixel == 2)
- WRITE_UINT16(_grabbedCursor + 16 * i + (15 - j) * 2, _16BitPalette[color]);
+ WRITE_UINT16(_grabbedCursor + 32 * i + (15 - j) * 2, _16BitPalette[color]);
else
_grabbedCursor[16 * i + 15 - j] = color;
}
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