mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
[Android] Fix Android 4.3 from crashing on my devices. This was annoying to find.
This commit is contained in:
parent
fbd0fba13a
commit
60ccb2f44d
@ -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<u8*>(base);
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user