about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-05-30 14:00:22 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-05-30 14:00:22 +0200
commit61839151c0620f4aaac183d5984180182ba945fb (patch)
treee2d76f63d34ec20d878360ec23d385e6af234662 /src
parentb38c9ea253d7335b5c36c9f1da1ebe76d7cccc51 (diff)
downloadbox64-61839151c0620f4aaac183d5984180182ba945fb.tar.gz
box64-61839151c0620f4aaac183d5984180182ba945fb.zip
Fixed BOX64_DYNAREC_DUMP=2 env. var.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2ef08494..c7b55380 100755
--- a/src/main.c
+++ b/src/main.c
@@ -159,7 +159,7 @@ void LoadLogEnv()
     p = getenv("BOX64_DYNAREC_DUMP");
     if(p) {
         if(strlen(p)==1) {
-            if(p[0]>='0' && p[0]<='1')
+            if(p[0]>='0' && p[0]<='2')
                 box64_dynarec_dump = p[0]-'0';
         }
         if (box64_dynarec_dump) printf_log(LOG_INFO, "Dynarec blocks are dumped%s\n", (box64_dynarec_dump>1)?" in color":"");