summaryrefslogtreecommitdiffstats
path: root/src/rw/MemoryMgr.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-13 12:22:31 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-13 12:22:31 +0100
commit57201187de74da42437dfa984a6cd36fe663a5e4 (patch)
tree303a3e4ab297c1dcf0cb81236f012db96ac5f78d /src/rw/MemoryMgr.cpp
parentMake cmake files more generic (diff)
downloadre3-57201187de74da42437dfa984a6cd36fe663a5e4.tar
re3-57201187de74da42437dfa984a6cd36fe663a5e4.tar.gz
re3-57201187de74da42437dfa984a6cd36fe663a5e4.tar.bz2
re3-57201187de74da42437dfa984a6cd36fe663a5e4.tar.lz
re3-57201187de74da42437dfa984a6cd36fe663a5e4.tar.xz
re3-57201187de74da42437dfa984a6cd36fe663a5e4.tar.zst
re3-57201187de74da42437dfa984a6cd36fe663a5e4.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);