Memory_util: Check if EMU_ARCH_BITS is defined before checking its value
This commit is contained in:
parent
362eddc283
commit
996efc129c
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void* AllocateExecutableMemory(size_t size)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EMU_ARCH_BITS == 64
|
#if defined(EMU_ARCH_BITS) && EMU_ARCH_BITS == 64
|
||||||
if ((u64)ptr >= 0x80000000 && low == true)
|
if ((u64)ptr >= 0x80000000 && low == true)
|
||||||
LOG_ERROR(Common_Memory, "Executable memory ended up above 2GB!");
|
LOG_ERROR(Common_Memory, "Executable memory ended up above 2GB!");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue