mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Add support for 16kb page size on Android
This commit is contained in:
1 parent
20491e0077
commit
2feaeef837
6 files changed
+35
-10
No files matched your search
@@ -352,7 +352,12 @@ int GetMemoryProtectPageSize() {
|
||||
if (sys_info.dwPageSize == 0)
|
||||
GetSystemInfo(&sys_info);
|
||||
return sys_info.dwPageSize;
|
||||
#else
|
||||
static int pageSize = 0;
|
||||
if (!pageSize) {
|
||||
pageSize = sysconf(_SC_PAGE_SIZE);
|
||||
}
|
||||
return pageSize;
|
||||
#endif
|
||||
return MEM_PAGE_SIZE;
|
||||
}
|
||||
#endif // !PPSSPP_PLATFORM(SWITCH)
|
||||
Reference in new issue
Block a user