diff --git a/Source/Core/Common/Src/MemArena.cpp b/Source/Core/Common/Src/MemArena.cpp index ce0ccb2d3b..b7400a978e 100644 --- a/Source/Core/Common/Src/MemArena.cpp +++ b/Source/Core/Common/Src/MemArena.cpp @@ -152,7 +152,11 @@ u8* MemArena::Find4GBBase() PanicAlert("Failed to map 1 GB of memory space: %s", strerror(errno)); return 0; } +#ifndef ANDROID + // Android 4.3 changes how munmap works which causes crashes. + // Keep the memory space after allocating it... munmap(base, MemSize); +#endif return static_cast(base); #endif #endif