From f0503a6a2813208c9170318280047ae7019e9ef1 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Mon, 18 Nov 2024 21:21:02 +0100 Subject: [PATCH] fix 4kb page check oops --- src/ARMJIT_Memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ARMJIT_Memory.cpp b/src/ARMJIT_Memory.cpp index ae8391bb..e1c1da43 100644 --- a/src/ARMJIT_Memory.cpp +++ b/src/ARMJIT_Memory.cpp @@ -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;