From ff14ccc0a5475c8148efea715b36a725c342301d Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 26 Apr 2024 17:50:16 +0200 Subject: [DYNAREC] More fixes on BIGBLOCK --- src/dynarec/dynarec_native_pass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit 1.4.1