From 9c120168593c9565780c365aef0f511f3e692d61 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 5 Nov 2023 13:17:50 +0100 Subject: Better way to track mapped memory --- 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 4fbdae6d..76157123 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -71,9 +71,8 @@ uintptr_t getJumpAddress64(uintptr_t addr); #define PROT_DYNAREC 0x80 #define PROT_DYNAREC_R 0x40 #define PROT_NOPROT 0x20 -#define PROT_MMAP 0x10 #define PROT_DYN (PROT_DYNAREC | PROT_DYNAREC_R | PROT_NOPROT) -#define PROT_CUSTOM (PROT_DYNAREC | PROT_DYNAREC_R | PROT_MMAP | PROT_NOPROT) +#define PROT_CUSTOM (PROT_DYNAREC | PROT_DYNAREC_R | PROT_NOPROT) #define PROT_WAIT 0xFF void updateProtection(uintptr_t addr, size_t size, uint32_t prot); -- cgit 1.4.1