summaryrefslogtreecommitdiffstats
path: root/src/rw/MemoryMgr.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-13 13:56:25 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-13 13:56:25 +0100
commitff057838ec8f2f03b6990a87ca30e85ca45daafb (patch)
tree38af6623091aed50390109799d7f8b0ea28d2224 /src/rw/MemoryMgr.cpp
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
parentFix backface culling of cutscene objects (diff)
downloadre3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.gz
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.bz2
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.lz
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.xz
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.zst
re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.zip
Diffstat (limited to 'src/rw/MemoryMgr.cpp')
-rw-r--r--src/rw/MemoryMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rw/MemoryMgr.cpp b/src/rw/MemoryMgr.cpp
index e2f6f144..2379692c 100644
--- a/src/rw/MemoryMgr.cpp
+++ b/src/rw/MemoryMgr.cpp
@@ -93,7 +93,7 @@ MemoryMgrFree(void *ptr)
void *
RwMallocAlign(RwUInt32 size, RwUInt32 align)
{
-#ifdef FIX_BUGS
+#if defined (FIX_BUGS) || defined(FIX_BUGS_64)
uintptr ptralign = align-1;
void *mem = (void *)MemoryMgrMalloc(size + sizeof(uintptr) + ptralign);