about summary refs log tree commit diff stats
path: root/src/dynarec/dynarec_native_pass.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-04-26 17:50:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-04-26 17:50:16 +0200
commitff14ccc0a5475c8148efea715b36a725c342301d (patch)
treead77214cacb9052343afd488690f5456b5d076ac /src/dynarec/dynarec_native_pass.c
parent1222fee0d06ec955958587da767127fde1c31ab4 (diff)
downloadbox64-ff14ccc0a5475c8148efea715b36a725c342301d.tar.gz
box64-ff14ccc0a5475c8148efea715b36a725c342301d.zip
[DYNAREC] More fixes on BIGBLOCK
Diffstat (limited to 'src/dynarec/dynarec_native_pass.c')
-rw-r--r--src/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 d30b7593..974e80b6 100644
--- a/src/dynarec/dynarec_native_pass.c
+++ b/src/dynarec/dynarec_native_pass.c
@@ -214,7 +214,7 @@ uintptr_t native_pass(dynarec_native_t* dyn, uintptr_t addr, int alternate, int
         }
         #else
         // check if block need to be stopped, because it's a 00 00 opcode or is out of readable space
-        int ok_to_continue = (ok && getProtection(addr) && getProtection(addr+1));
+        int ok_to_continue = (getProtection(addr) && getProtection(addr+1));
         if(ok && (!ok_to_continue || !(*(uint16_t*)addr))) {
             if(box64_dynarec_dump) dynarec_log(LOG_NONE, "Stopping block at %p reason: %s\n", (void*)addr, ok_to_continue?"Address is not readable":"Next opcode is 00 00");
             ok = 0;