mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-02 11:08:27 +00:00
Use W^X on OpenBSD.
This commit is contained in:
parent
0b68130968
commit
9fc355eee4
@ -284,9 +284,9 @@ void FreeAlignedMemory(void* ptr) {
|
||||
}
|
||||
|
||||
bool PlatformIsWXExclusive() {
|
||||
// Only iOS really needs this mode currently. Even without block linking, still should be much faster than IR JIT.
|
||||
// Needed on platforms that disable W^X pages for security. Even without block linking, still should be much faster than IR JIT.
|
||||
// This might also come in useful for UWP (Universal Windows Platform) if I'm understanding things correctly.
|
||||
#if defined(IOS) || PPSSPP_PLATFORM(UWP)
|
||||
#if defined(IOS) || PPSSPP_PLATFORM(UWP) || defined(__OpenBSD__)
|
||||
return true;
|
||||
#else
|
||||
// Returning true here lets you test the W^X path on Windows and other non-W^X platforms.
|
||||
|
Loading…
x
Reference in New Issue
Block a user