about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-20 15:26:07 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-20 15:26:07 +0100
commit44a20349e3d07af9b1e65f261be2ed150e86b11e (patch)
treee169b4aa087ddb24a82375311c700d2a0e5b2db5 /src
parent7f7003c484787318182865bc737736531ad58535 (diff)
downloadbox64-44a20349e3d07af9b1e65f261be2ed150e86b11e.tar.gz
box64-44a20349e3d07af9b1e65f261be2ed150e86b11e.zip
Added M1/Asahi support
Diffstat (limited to 'src')
-rw-r--r--src/custommem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 60336ecd..ede78b6f 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -42,7 +42,7 @@ static uintptr_t*          box64_jmptbldefault1[1<<JMPTABL_SHIFT];
 static uintptr_t           box64_jmptbldefault0[1<<JMPTABL_SHIFT];
 #endif
 static pthread_mutex_t     mutex_prot;
-#ifdef LA464
+#if defined(LA464) || defined(M1)
 #define MEMPROT_SHIFT 14
 #define MEMPROT_SHIFT2 (16+14)
 #else