about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-06 18:21:37 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-06 18:21:37 +0100
commit8d0cc15eb0d078e5ae457bca8b11a31c28a96e27 (patch)
tree9be96d8a89b43b1342a8fba6a74a36dcb61bd12c /src/main.c
parentee2580a57fae19e1c47a1af03dcfb3edffe697b3 (diff)
downloadbox64-8d0cc15eb0d078e5ae457bca8b11a31c28a96e27.tar.gz
box64-8d0cc15eb0d078e5ae457bca8b11a31c28a96e27.zip
[ARM64_DYNAREC] Reworked, again, strongmem emulation
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 9ed59359..31075af4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -608,11 +608,11 @@ void LoadLogEnv()
     p = getenv("BOX64_DYNAREC_STRONGMEM");
     if(p) {
         if(strlen(p)==1) {
-            if(p[0]>='0' && p[0]<='3')
+            if(p[0]>='0' && p[0]<='4')
                 box64_dynarec_strongmem = p[0]-'0';
         }
         if(box64_dynarec_strongmem)
-            printf_log(LOG_INFO, "Dynarec will try to emulate a strong memory model%s\n", (box64_dynarec_strongmem==1)?" with limited performance loss":((box64_dynarec_strongmem==3)?" with more performance loss":""));
+            printf_log(LOG_INFO, "Dynarec will try to emulate a strong memory model%s\n", (box64_dynarec_strongmem==1)?" with limited performance loss":((box64_dynarec_strongmem>1)?" with more performance loss":""));
     }
     p = getenv("BOX64_DYNAREC_X87DOUBLE");
     if(p) {