Jakub Skrzypnik <j.skrzyp...@openmailbox.org> writes:

> USE_WXNEEDED = Yes

JIT supports W^X, see https://github.com/hrydgard/ppsspp/issues/8943
Maybe try the following instead

--- Common/MemoryUtil.cpp~
+++ Common/MemoryUtil.cpp
@@ -281,7 +281,7 @@ 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.
        // 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.

Reply via email to