From 515f4e81195a48da2b924a802750a646df16e760 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 17 Mar 2022 12:29:15 +0100 Subject: Improve findBlockNearHint function and friends, again (in sync with box86) --- 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 156d0c11..76633e80 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -35,8 +35,7 @@ uintptr_t getJumpTableAddress64(uintptr_t addr); #endif #define PROT_DYNAREC 0x80 -#define PROT_ALLOC 0x40 -#define PROT_CUSTOM (PROT_DYNAREC|PROT_ALLOC) +#define PROT_CUSTOM (PROT_DYNAREC) void updateProtection(uintptr_t addr, size_t size, uint32_t prot); void setProtection(uintptr_t addr, size_t size, uint32_t prot); -- cgit 1.4.1