[Scummvm-cvs-logs] SF.net SVN: scummvm:[44757] scummvm/trunk/engines/sci/engine/kgraphics.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Wed Oct 7 23:10:42 CEST 2009


Revision: 44757
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44757&view=rev
Author:   m_kiewitz
Date:     2009-10-07 21:10:42 +0000 (Wed, 07 Oct 2009)

Log Message:
-----------
SCI: changed kDrawPic to use oldGfxFuncs()

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-07 20:58:33 UTC (rev 44756)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-07 21:10:42 UTC (rev 44757)
@@ -919,12 +919,11 @@
 			mirroredFlag = true;
 	}
 	if (argc >= 3) {
-		// FIXME: usesOldGfxFunctions() seems to be butchered, cause sq3 has it set, but uses bit 0 correctly
-		//if (!s->_kernel->usesOldGfxFunctions())
-		//	flags = !argv[2].toUint16();
-		//else
 		if (!argv[2].isNull())
 			addToFlag = true;
+		// FIXME: usesOldGfxFunctions() seems to be broken, cause sq3 has it set, but uses bit 0 correctly
+		if (s->_kernel->usesOldGfxFunctions())
+			addToFlag = !addToFlag;
 	}
 	if (argc >= 4)
 		EGApaletteNo = argv[3].toUint16();


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