about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-07-19 12:25:33 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-07-19 12:25:33 +0200
commit48ae536d95390b98add016866948e91522943730 (patch)
tree72b2790650e9caefee0708eadd62b92e9e57a7ac /src
parentb2225e26b1a1ebb789398d1c57d0693985f40a24 (diff)
downloadbox64-48ae536d95390b98add016866948e91522943730.tar.gz
box64-48ae536d95390b98add016866948e91522943730.zip
[DYNAREC] Change an error to warning, when entering FillBlock64 and current_helper is not cleaned up
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/dynarec_native.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/dynarec/dynarec_native.c b/src/dynarec/dynarec_native.c
index 1191189d..cab79830 100644
--- a/src/dynarec/dynarec_native.c
+++ b/src/dynarec/dynarec_native.c
@@ -631,14 +631,13 @@ dynablock_t* FillBlock64(uintptr_t addr, int alternate, int is32bits, int inst_m
         dynarec_log(LOG_INFO, "Create empty block in no-dynarec zone\n");
         return CreateEmptyBlock(addr, is32bits, is_new);
     }
-    if(current_helper) {
-        dynarec_log(LOG_DEBUG, "Canceling dynarec FillBlock at %p as another one is going on\n", (void*)addr);
-        return NULL;
-    }
     if(checkInHotPage(addr)) {
         dynarec_log(LOG_DEBUG, "Not creating dynablock at %p as in a HotPage\n", (void*)addr);
         return NULL;
     }
+    if(current_helper) {
+        dynarec_log(LOG_INFO, "Warning: previous FillBlock did not cleaned up correctly\n");
+    }
     // protect the 1st page
     protectDB(addr, 1);
     // init the helper