diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-10-03 02:44:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-02 20:44:04 +0200 |
| commit | 6cbcfc7ab80269a0d3b80ec920fa344f59609b61 (patch) | |
| tree | 841918dee9d8d959bb0a68e503ae1f5ec41b8f54 /src/core.c | |
| parent | 564d06e84cd3bdc8a926f4489a481c3c4390c5a9 (diff) | |
| download | box64-6cbcfc7ab80269a0d3b80ec920fa344f59609b61.tar.gz box64-6cbcfc7ab80269a0d3b80ec920fa344f59609b61.zip | |
[DYNAREC] Added a new missing mode for fallback opcodes (#1896)
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c index 31cb413d..05f516d9 100644 --- a/src/core.c +++ b/src/core.c @@ -842,11 +842,13 @@ void LoadLogEnv() p = getenv("BOX64_DYNAREC_MISSING"); if(p) { if(strlen(p)==1) { - if(p[0]>='0' && p[0]<='1') + if(p[0]>='0' && p[0]<='2') box64_dynarec_missing = p[0]-'0'; } - if(box64_dynarec_missing) + if(box64_dynarec_missing==1) printf_log(LOG_INFO, "Dynarec will print missing opcodes\n"); + else if (box64_dynarec_missing==2) + printf_log(LOG_INFO, "Dynarec will print fallback to scalar opcodes\n"); } p = getenv("BOX64_NODYNAREC"); if(p) { |