diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-11-05 13:17:50 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-11-05 13:17:50 +0100 |
| commit | 9c120168593c9565780c365aef0f511f3e692d61 (patch) | |
| tree | 9c9a94ca40d11fdeb32d574b26ac51264bcfd8db /src/include | |
| parent | e6943c8a9dad781aa5e1caf7c0cd59041e3c29f8 (diff) | |
| download | box64-9c120168593c9565780c365aef0f511f3e692d61.tar.gz box64-9c120168593c9565780c365aef0f511f3e692d61.zip | |
Better way to track mapped memory
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/custommem.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |