1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00

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;