add comment for clarification

svn-id: r35528
This commit is contained in:
Joost Peters 2008-12-24 16:13:09 +00:00
parent 85bfce72d3
commit e98f573688

View file

@ -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) {