aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ARMJIT.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ARMJIT.cpp b/src/ARMJIT.cpp
index c326d9a..b3dae1e 100644
--- a/src/ARMJIT.cpp
+++ b/src/ARMJIT.cpp
@@ -320,6 +320,9 @@ void Init()
void DeInit()
{
+ #if defined(__APPLE__) && defined(__aarch64__)
+ pthread_jit_write_protect_np(false);
+ #endif
ResetBlockCache();
ARMJIT_Memory::DeInit();