mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
[Android] Fix Fastmem on Android 4.2
This commit is contained in:
@ -146,7 +146,7 @@ u8* MemArena::Find4GBBase()
|
|||||||
// Android 4.3 changed how mmap works.
|
// Android 4.3 changed how mmap works.
|
||||||
// if we map it private and then munmap it, we can't use the base returned.
|
// if we map it private and then munmap it, we can't use the base returned.
|
||||||
// This may be due to changes in them support a full SELinux implementation.
|
// This may be due to changes in them support a full SELinux implementation.
|
||||||
const int flags = MAP_ANON;
|
const int flags = MAP_ANON | MAP_SHARED;
|
||||||
#else
|
#else
|
||||||
const int flags = MAP_ANON | MAP_PRIVATE;
|
const int flags = MAP_ANON | MAP_PRIVATE;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user