From 51aa4b0416fbd9e960b5699dde5f573d89b54ae4 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 30 Nov 2024 14:02:28 +0100 Subject: Added a new memExist helper function and use it instead of getMmapped were it make sense --- src/include/custommem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/custommem.h b/src/include/custommem.h index d892079e..13874592 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -102,6 +102,7 @@ void refreshProtection(uintptr_t addr); uint32_t getProtection(uintptr_t addr); uint32_t getProtection_fast(uintptr_t addr); int getMmapped(uintptr_t addr); +int memExist(uintptr_t addr); void loadProtectionFromMap(void); #ifdef DYNAREC void protectDB(uintptr_t addr, size_t size); -- cgit 1.4.1