[Scummvm-cvs-logs] SF.net SVN: scummvm:[39545] scummvm/trunk/engines/scumm/gfx.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Mar 19 23:49:26 CET 2009


Revision: 39545
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39545&view=rev
Author:   fingolfin
Date:     2009-03-19 22:49:26 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Use IS_ALIGNED

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/gfx.cpp

Modified: scummvm/trunk/engines/scumm/gfx.cpp
===================================================================
--- scummvm/trunk/engines/scumm/gfx.cpp	2009-03-19 22:47:30 UTC (rev 39544)
+++ scummvm/trunk/engines/scumm/gfx.cpp	2009-03-19 22:49:26 UTC (rev 39545)
@@ -603,7 +603,7 @@
 
 		// The values x, width, etc. are all multiples of 8 at this point,
 		// so loop unrolloing might be a good idea...
-		assert(0 == ((long)text & 3));
+		assert(IS_ALIGNED(text, 4));
 		assert(0 == (width & 3));
 
 		// Compose the text over the game graphics


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