summaryrefslogtreecommitdiffstats
path: root/src/rw/MemoryMgr.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-13 21:17:53 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-13 21:17:53 +0100
commit8baa104453db38734a3eb9e9ff511389d0e72506 (patch)
treefadc7c4d71f54a2c6a2add1efb1b741b6f9775d5 /src/rw/MemoryMgr.cpp
parentRevert "Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs" (diff)
downloadre3-8baa104453db38734a3eb9e9ff511389d0e72506.tar
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.gz
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.bz2
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.lz
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.xz
re3-8baa104453db38734a3eb9e9ff511389d0e72506.tar.zst
re3-8baa104453db38734a3eb9e9ff511389d0e72506.zip
Diffstat (limited to '')
-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);