[Scummvm-cvs-logs] SF.net SVN: scummvm:[41418] scummvm/branches/gsoc2009-16bit/engines/scumm/ he/wiz_he.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Wed Jun 10 08:05:11 CEST 2009


Revision: 41418
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41418&view=rev
Author:   Kirben
Date:     2009-06-10 06:05:11 +0000 (Wed, 10 Jun 2009)

Log Message:
-----------
Correct horizontal flipping in decompressWizImage(), when using 16bit color.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-16bit/engines/scumm/he/wiz_he.cpp

Modified: scummvm/branches/gsoc2009-16bit/engines/scumm/he/wiz_he.cpp
===================================================================
--- scummvm/branches/gsoc2009-16bit/engines/scumm/he/wiz_he.cpp	2009-06-10 05:35:54 UTC (rev 41417)
+++ scummvm/branches/gsoc2009-16bit/engines/scumm/he/wiz_he.cpp	2009-06-10 06:05:11 UTC (rev 41418)
@@ -858,7 +858,7 @@
 	dstInc = bitDepth;
 	if (flags & kWIFFlipX) {
 		dstPtr += (w - 1) * bitDepth;
-		dstInc = -1;
+		dstInc = -bitDepth;
 	}
 
 	while (h--) {


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