mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-27 17:39:41 -06:00
disable fastmem if the page size is not 4kb
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user