[Scummvm-cvs-logs] SF.net SVN: scummvm: [30147] scummvm/trunk/engines/scumm/palette.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Jan 2 13:58:18 CET 2008


Revision: 30147
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30147&view=rev
Author:   sev
Date:     2008-01-02 04:58:18 -0800 (Wed, 02 Jan 2008)

Log Message:
-----------
Fix for bug #1206994: "FOA AMIGA: Black cursor and text in Dig Site"

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/palette.cpp

Modified: scummvm/trunk/engines/scumm/palette.cpp
===================================================================
--- scummvm/trunk/engines/scumm/palette.cpp	2008-01-02 11:45:59 UTC (rev 30146)
+++ scummvm/trunk/engines/scumm/palette.cpp	2008-01-02 12:58:18 UTC (rev 30147)
@@ -682,6 +682,16 @@
 			if (_game.heversion == 70)
 				setDirtyColors(idx, idx);
 
+
+			// Original FOA Amiga version skips these colors
+			// Fixes bug #1206994: "FOA AMIGA: Black cursor and text in Dig Site"
+			if (_game.platform == Common::kPlatformAmiga) {
+				if (j < 16) {
+					cptr += 3;
+					continue;
+				}
+			}
+
 			color = *cptr++;
 			color = color * redScale / 0xFF;
 			if (color > max)


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