fix 4kb page check

oops
This commit is contained in:
RSDuck
2024-11-18 21:21:02 +01:00
parent 99ce959913
commit f0503a6a28

View File

@ -754,7 +754,7 @@ bool ARMJIT_Memory::IsFastMemSupported()
PageSize = RegularPageSize;
#else
PageSize = __sysconf(_SC_PAGESIZE);
isSupported = PageShift == RegularPageSize || PageSize == LargePageSize;
isSupported = PageSize == RegularPageSize || PageSize == LargePageSize;
#endif
PageShift = __builtin_ctz(PageSize);
initialised = true;