From 121d986b1114990ae69a6834cea6979200e0c39b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 3 Feb 2024 18:01:13 +0100 Subject: [DYNAREC] Reworked a bit the Strange SEGSIGV handling --- src/include/custommem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') 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); -- cgit 1.4.1