[Scummvm-cvs-logs] SF.net SVN: scummvm: [30148] scummvm/branches/branch-0-11-0/engines/scumm/ palette.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Jan 2 13:59:11 CET 2008


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

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

Modified Paths:
--------------
    scummvm/branches/branch-0-11-0/engines/scumm/palette.cpp

Modified: scummvm/branches/branch-0-11-0/engines/scumm/palette.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/scumm/palette.cpp	2008-01-02 12:58:18 UTC (rev 30147)
+++ scummvm/branches/branch-0-11-0/engines/scumm/palette.cpp	2008-01-02 12:59:10 UTC (rev 30148)
@@ -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