about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
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)