mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
fix 4kb page check
oops
This commit is contained in:
@ -754,7 +754,7 @@ bool ARMJIT_Memory::IsFastMemSupported()
|
|||||||
PageSize = RegularPageSize;
|
PageSize = RegularPageSize;
|
||||||
#else
|
#else
|
||||||
PageSize = __sysconf(_SC_PAGESIZE);
|
PageSize = __sysconf(_SC_PAGESIZE);
|
||||||
isSupported = PageShift == RegularPageSize || PageSize == LargePageSize;
|
isSupported = PageSize == RegularPageSize || PageSize == LargePageSize;
|
||||||
#endif
|
#endif
|
||||||
PageShift = __builtin_ctz(PageSize);
|
PageShift = __builtin_ctz(PageSize);
|
||||||
initialised = true;
|
initialised = true;
|
||||||
|
Reference in New Issue
Block a user