about summary refs log tree commit diff stats
path: root/src/dynarec
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-09-25 21:25:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-09-25 21:25:16 +0200
commit4f18bd62931f92f14ebdaa25cae5f487619e8a52 (patch)
tree82839428671837d520c075aabf6b8b7ce0cc76d7 /src/dynarec
parent702e92d4f4ae835cb7658684282dacb69a2ed362 (diff)
downloadbox64-4f18bd62931f92f14ebdaa25cae5f487619e8a52.tar.gz
box64-4f18bd62931f92f14ebdaa25cae5f487619e8a52.zip
[DYNAREC] Improved BOX64_NODYNAREC effect, and Interpretor->Dynarec on conditional jump
Diffstat (limited to 'src/dynarec')
-rwxr-xr-xsrc/dynarec/dynarec_native_pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native_pass.c b/src/dynarec/dynarec_native_pass.c
index 02b55774..d0211197 100755
--- a/src/dynarec/dynarec_native_pass.c
+++ b/src/dynarec/dynarec_native_pass.c
@@ -213,7 +213,7 @@ uintptr_t native_pass(dynarec_native_t* dyn, uintptr_t addr)
         if(ok<0)  {ok = 0; need_epilog=1;}
         ++ninst;
         #if STEP == 0
-        if(ok && !isJumpTableDefault64((void*)addr) && (box64_dynarec_bigblock<2))
+        if(ok && ((!isJumpTableDefault64((void*)addr) && (box64_dynarec_bigblock<2)) || (addr>=box64_nodynarec_start && addr<box64_nodynarec_end)))
         #else
         if(ok && (ninst==dyn->size))
         #endif