add comment for clarification
svn-id: r35528
This commit is contained in:
parent
85bfce72d3
commit
e98f573688
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ MEM_NODE *MemoryAlloc(int flags, long size) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SCUMM_NEED_ALIGNMENT
|
#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
|
#endif
|
||||||
|
|
||||||
while ((flags & DWM_NOALLOC) == 0 && bCompacted) {
|
while ((flags & DWM_NOALLOC) == 0 && bCompacted) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue