about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-11-20 04:22:55 +0800
committerGitHub <noreply@github.com>2024-11-19 21:22:55 +0100
commitfa432bb9d1b4b1069aff1d08681a54e15520f6be (patch)
tree376417b32126731dd4d25a0329a5f03cc3df638a /src/core.c
parent81e4e26dc51b85720fbc3ba2ffe68030e5d227fa (diff)
downloadbox64-fa432bb9d1b4b1069aff1d08681a54e15520f6be.tar.gz
box64-fa432bb9d1b4b1069aff1d08681a54e15520f6be.zip
[ARM64_DYNAREC] Added weakbarrier=2 to disable last write barriers (#2049)
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 07579917..346d386f 100644
--- a/src/core.c
+++ b/src/core.c
@@ -789,7 +789,7 @@ void LoadLogEnv()
     p = getenv("BOX64_DYNAREC_WEAKBARRIER");
     if (p) {
         if (strlen(p) == 1) {
-            if (p[0] >= '0' && p[0] <= '1')
+            if (p[0] >= '0' && p[0] <= '2')
                 box64_dynarec_weakbarrier = p[0] - '0';
         }
         if (box64_dynarec_weakbarrier)