fix 4kb page check

oops
This commit is contained in:
RSDuck 2024-11-18 21:21:02 +01:00
parent 99ce959913
commit f0503a6a28
1 changed files with 1 additions and 1 deletions

View File

@ -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;