From e98f573688875dd53dfd14131b11382e5663b78c Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Wed, 24 Dec 2008 16:13:09 +0000 Subject: add comment for clarification svn-id: r35528 --- engines/tinsel/heapmem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/tinsel/heapmem.cpp') diff --git a/engines/tinsel/heapmem.cpp b/engines/tinsel/heapmem.cpp index 9e19841562..704f3c8104 100644 --- a/engines/tinsel/heapmem.cpp +++ b/engines/tinsel/heapmem.cpp @@ -285,7 +285,7 @@ MEM_NODE *MemoryAlloc(int flags, long size) { } #ifdef SCUMM_NEED_ALIGNMENT - size = (size + 3) & ~3; + size = (size + 3) & ~3; //round up to nearest multiple of 4, this ensures the addresses that are returned are 4-byte aligned as well. #endif while ((flags & DWM_NOALLOC) == 0 && bCompacted) { -- cgit v1.2.3