about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-03 18:01:13 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-03 18:01:13 +0100
commit121d986b1114990ae69a6834cea6979200e0c39b (patch)
tree6c17cb5f45209c098e3e8f6569550d7a3d191c20 /src/include
parentf18f5c9b85feecb3b5d1744b2cfaf5a2fe6068b5 (diff)
downloadbox64-121d986b1114990ae69a6834cea6979200e0c39b.tar.gz
box64-121d986b1114990ae69a6834cea6979200e0c39b.zip
[DYNAREC] Reworked a bit the Strange SEGSIGV handling
Diffstat (limited to 'src/include')
-rw-r--r--src/include/custommem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h
index 71ed1b0c..b80eba47 100644
--- a/src/include/custommem.h
+++ b/src/include/custommem.h
@@ -26,6 +26,8 @@ void FreeDynarecMap(uintptr_t addr);
 
 void addDBFromAddressRange(uintptr_t addr, size_t size);
 void cleanDBFromAddressRange(uintptr_t addr, size_t size, int destroy);
+// Will return 1 if at least 1 db in the address range
+int isDBFromAddressRange(uintptr_t addr, size_t size);
 
 dynablock_t* getDB(uintptr_t idx);
 int getNeedTest(uintptr_t idx);