disable fastmem if the page size is not 4kb
This commit is contained in:
parent
a3ea5def4a
commit
a53f0e6896
|
@ -728,8 +728,7 @@ bool ARMJIT_Memory::IsFastMemSupported()
|
|||
isSupported = virtualAlloc2Ptr != nullptr;
|
||||
ARMJIT_Global::DeInit();
|
||||
#else
|
||||
// TODO: check page size is 4kb for posix
|
||||
isSupported = true;
|
||||
isSupported = __sysconf(_SC_PAGESIZE) == 0x1000;
|
||||
#endif
|
||||
initialised = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue