Disable JIT write-protect when de-initialising on ARM64 macOS

This commit is contained in:
WaluigiWare64 2021-03-22 20:14:21 +00:00
parent ac49d8e25c
commit 2c2e868de0
1 changed files with 3 additions and 0 deletions

View File

@ -320,6 +320,9 @@ void Init()
void DeInit()
{
#if defined(__APPLE__) && defined(__aarch64__)
pthread_jit_write_protect_np(false);
#endif
ResetBlockCache();
ARMJIT_Memory::DeInit();