From c8b6f80f995d0ee00a46b423a360c38bf20cacee Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 7 Mar 2025 13:45:41 +0100 Subject: Removed isDBFromAddressRange and added that function to cleanDBFromAddressRange as it was used only 1 time and followed by that function anyway --- src/include/custommem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/custommem.h b/src/include/custommem.h index 6c24981c..7acbda18 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -36,9 +36,8 @@ uintptr_t AllocDynarecMap(size_t size); 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); +int cleanDBFromAddressRange(uintptr_t addr, size_t size, int destroy); dynablock_t* getDB(uintptr_t idx); int getNeedTest(uintptr_t idx); -- cgit 1.4.1