[Scummvm-cvs-logs] SF.net SVN: scummvm:[43995] scummvm/trunk/engines/sci/gfx/gfx_support.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Sep 7 01:00:49 CEST 2009


Revision: 43995
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43995&view=rev
Author:   thebluegr
Date:     2009-09-06 23:00:49 +0000 (Sun, 06 Sep 2009)

Log Message:
-----------
Fixed compilation on BE systems

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gfx/gfx_support.cpp

Modified: scummvm/trunk/engines/sci/gfx/gfx_support.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/gfx_support.cpp	2009-09-06 22:27:29 UTC (rev 43994)
+++ scummvm/trunk/engines/sci/gfx/gfx_support.cpp	2009-09-06 23:00:49 UTC (rev 43995)
@@ -265,7 +265,7 @@
 		}
 
 #ifdef SCUMM_BIG_ENDIAN
-		alpha += (mode->bytespp) - (shift_nr + 1);
+		alpha += 1 - (shift_nr + 1);
 #else
 		alpha += shift_nr;
 #endif


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