mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 23:01:04 +00:00
Memory_util: Check if EMU_ARCH_BITS is defined before checking its value
This commit is contained in:
parent
362eddc283
commit
996efc129c
@ -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 New Issue
Block a user