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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Aug 20 14:24:50 CEST 2010


Revision: 52224
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52224&view=rev
Author:   thebluegr
Date:     2010-08-20 12:24:48 +0000 (Fri, 20 Aug 2010)

Log Message:
-----------
SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"

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

Modified: scummvm/trunk/engines/sci/graphics/ports.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/ports.cpp	2010-08-20 10:49:01 UTC (rev 52223)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp	2010-08-20 12:24:48 UTC (rev 52224)
@@ -510,7 +510,8 @@
 	// This looks fishy, but it's exactly what sierra did. They removed last bit of left in their interpreter
 	//  It seems sierra did it for EGA byte alignment (EGA uses 1 byte for 2 pixels) and left it in their interpreter even
 	//  when going VGA.
-	_curPort->left = left & 0x7FFE;
+	// Fan made games do not compensate for this - fixes bug #3041153.
+	_curPort->left = (g_sci->getGameId() != GID_FANMADE) ? left & 0x7FFE : left;
 	_curPort->top = top;
 }
 


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