aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2009-03-19 22:49:26 +0000
committerMax Horn2009-03-19 22:49:26 +0000
commite82464a528729f7f1eb14c772d5d3afff35fa0fe (patch)
treea5fe063ad0eb2642dc3053dda82013e017726f94 /engines
parenta45ed16fc402266dc9ba3f61292920b88713221e (diff)
downloadscummvm-rg350-e82464a528729f7f1eb14c772d5d3afff35fa0fe.tar.gz
scummvm-rg350-e82464a528729f7f1eb14c772d5d3afff35fa0fe.tar.bz2
scummvm-rg350-e82464a528729f7f1eb14c772d5d3afff35fa0fe.zip
Use IS_ALIGNED
svn-id: r39545
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 04cde129fa..948d73b7f5 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -603,7 +603,7 @@ void ScummEngine::drawStripToScreen(VirtScreen *vs, int x, int width, int top, i
// 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