[Scummvm-cvs-logs] SF.net SVN: scummvm:[55868] scummvm/trunk/engines/sci/graphics/view.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Feb 10 16:12:06 CET 2011


Revision: 55868
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55868&view=rev
Author:   mthreepwood
Date:     2011-02-10 15:12:06 +0000 (Thu, 10 Feb 2011)

Log Message:
-----------
SCI: Fix Mac SCI1 view transparency

This was a regression from r55825.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/view.cpp

Modified: scummvm/trunk/engines/sci/graphics/view.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/view.cpp	2011-02-10 13:39:01 UTC (rev 55867)
+++ scummvm/trunk/engines/sci/graphics/view.cpp	2011-02-10 15:12:06 UTC (rev 55868)
@@ -401,7 +401,7 @@
 		// code, that they would just put a little snippet of code to swap these colors
 		// in various places around the SCI codebase. We figured that it would be less
 		// hacky to swap pixels instead and run the Mac games with a PC palette.
-		if (g_sci->getPlatform() == Common::kPlatformMacintosh) {
+		if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() >= SCI_VERSION_1_1) {
 			// clearColor is based on PC palette, but the literal data is not.
 			// We flip clearColor here to make it match the literal data. All
 			// these pixels will be flipped back again below.


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