about summary refs log tree commit diff stats
path: root/src/dynarec/dynarec_native.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-10-20 12:08:19 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-10-20 12:08:29 +0200
commitd730610c02f9b9af00f83d8d7ee5e78fbd2a72f2 (patch)
tree3a5556b0544b44386440c4bdadae6b38598905dc /src/dynarec/dynarec_native.c
parentb0c11ae14f59346e3348a3c66823cbac52aad835 (diff)
downloadbox64-d730610c02f9b9af00f83d8d7ee5e78fbd2a72f2.tar.gz
box64-d730610c02f9b9af00f83d8d7ee5e78fbd2a72f2.zip
[DYNAREC] Reversing b40cb7b84a1a404a0d2b042791d9133bde3f1b77 as it generate tons of regression and it tries to fix a non-issue
Diffstat (limited to 'src/dynarec/dynarec_native.c')
-rw-r--r--src/dynarec/dynarec_native.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dynarec/dynarec_native.c b/src/dynarec/dynarec_native.c
index 961ba441..e73870c5 100644
--- a/src/dynarec/dynarec_native.c
+++ b/src/dynarec/dynarec_native.c
@@ -493,10 +493,8 @@ void CancelBlock64(int need_lock)
     }
     current_helper = NULL;
     redundant_helper = NULL;
-    if(need_lock) {
+    if(need_lock)
         mutex_unlock(&my_context->mutex_dyndump);
-        cancelFillBlockCriticalSection();
-    }
 }
 
 uintptr_t native_pass0(dynarec_native_t* dyn, uintptr_t addr, int alternate, int is32bits, int inst_max);