mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Disable JIT write-protect when de-initialising on ARM64 macOS
This commit is contained in:
@ -320,6 +320,9 @@ void Init()
|
|||||||
|
|
||||||
void DeInit()
|
void DeInit()
|
||||||
{
|
{
|
||||||
|
#if defined(__APPLE__) && defined(__aarch64__)
|
||||||
|
pthread_jit_write_protect_np(false);
|
||||||
|
#endif
|
||||||
ResetBlockCache();
|
ResetBlockCache();
|
||||||
ARMJIT_Memory::DeInit();
|
ARMJIT_Memory::DeInit();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user