Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Fix Fastmem on Android 4.2
  • Loading branch information
Sonicadvance1 committed Sep 30, 2013
1 parent 1a008b9 commit 3c53f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/MemArena.cpp
Expand Up @@ -146,7 +146,7 @@ u8* MemArena::Find4GBBase()
// Android 4.3 changed how mmap works.
// 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.
const int flags = MAP_ANON;
const int flags = MAP_ANON | MAP_SHARED;
#else
const int flags = MAP_ANON | MAP_PRIVATE;
#endif
Expand Down

0 comments on commit 3c53f2e

Please sign in to comment.