Skip to content

Commit

Permalink
fix 4kb page check
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
RSDuck committed Nov 18, 2024
1 parent 99ce959 commit f0503a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ARMJIT_Memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f0503a6

Please sign in to comment.