From 1c680d3aaa1aa6b018c7902d61616b2c1257e146 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 1 Oct 2023 08:38:57 +0200 Subject: [DYNAREC] Changed lock mecanism for memory protection --- 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 13e73c4f..d3536ae3 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -56,6 +56,7 @@ uintptr_t getJumpAddress64(uintptr_t addr); #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_WAIT 0xFF 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