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:
parent
99ce959913
commit
f0503a6a28
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue