[Scummvm-cvs-logs] SF.net SVN: scummvm: [25518] scummvm/trunk/engines/agos/res_ami.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Mon Feb 12 12:30:18 CET 2007


Revision: 25518
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25518&view=rev
Author:   kirben
Date:     2007-02-12 03:30:18 -0800 (Mon, 12 Feb 2007)

Log Message:
-----------
Fix subtitles glitches in Amiga OCS version of Simon the Sorcerer 1, by using AGA on screen font for now.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/res_ami.cpp

Modified: scummvm/trunk/engines/agos/res_ami.cpp
===================================================================
--- scummvm/trunk/engines/agos/res_ami.cpp	2007-02-12 11:27:11 UTC (rev 25517)
+++ scummvm/trunk/engines/agos/res_ami.cpp	2007-02-12 11:30:18 UTC (rev 25518)
@@ -135,7 +135,8 @@
 
 	uint8 colorDepth = 4;
 	if (getGameType() == GType_SIMON1) {
-		if (((_lockWord & 0x20) && !state->palette) || (getFeatures() & GF_32COLOR)) {
+		if (((_lockWord & 0x20) && !state->palette) || ((getFeatures() & GF_32COLOR) &&
+			state->palette != 0xC0)) {
 			colorDepth = 5;
 		}
 	}


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