about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-25 18:34:38 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-10-25 18:34:38 +0200
commit067dcbc0f75533761b430d58724df2489a678f5c (patch)
treebd4e131ee6ba3356fc5edf47078eaa5d3020575e /src/main.c
parent280bc969cef557e2e8e2cc18b4a2757cc58428d7 (diff)
downloadbox64-067dcbc0f75533761b430d58724df2489a678f5c.tar.gz
box64-067dcbc0f75533761b430d58724df2489a678f5c.zip
[DYNAREC] Added BIGBLOCK=3 level
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b522f635..542cdea1 100755
--- a/src/main.c
+++ b/src/main.c
@@ -421,13 +421,13 @@ void LoadLogEnv()
     p = getenv("BOX64_DYNAREC_BIGBLOCK");
     if(p) {
         if(strlen(p)==1) {
-            if(p[0]>='0' && p[0]<='2')
+            if(p[0]>='0' && p[0]<='3')
                 box64_dynarec_bigblock = p[0]-'0';
         }
         if(!box64_dynarec_bigblock)
             printf_log(LOG_INFO, "Dynarec will not try to make big block\n");
         else if (box64_dynarec_bigblock>1)
-            printf_log(LOG_INFO, "Dynarec will try to make bigger blocks\n");
+            printf_log(LOG_INFO, "Dynarec will try to make bigger blocks%s\n", (box64_dynarec_bigblock>2)?" even on non-elf memory":"");
 
     }
     p = getenv("BOX64_DYNAREC_STRONGMEM");