about summary refs log tree commit diff stats
path: root/src/include/custommem.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-03-07 13:45:41 +0100
committerptitSeb <sebastien.chev@gmail.com>2025-03-07 13:45:41 +0100
commitc8b6f80f995d0ee00a46b423a360c38bf20cacee (patch)
tree8923015c32ba34140c047c3ec86bea383cfd3b17 /src/include/custommem.h
parent9444ce0b890a73b28837f116ea551a18685b7b28 (diff)
downloadbox64-c8b6f80f995d0ee00a46b423a360c38bf20cacee.tar.gz
box64-c8b6f80f995d0ee00a46b423a360c38bf20cacee.zip
Removed isDBFromAddressRange and added that function to cleanDBFromAddressRange as it was used only 1 time and followed by that function anyway
Diffstat (limited to 'src/include/custommem.h')
-rw-r--r--src/include/custommem.h3
1 files changed, 1 insertions, 2 deletions
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);