diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-17 12:29:15 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-17 12:29:15 +0100 |
| commit | 515f4e81195a48da2b924a802750a646df16e760 (patch) | |
| tree | 2223b908f973288feac22e4fb3e278e230fd10f6 /src/include | |
| parent | 4a29c32d0c0e11e3b8a924c9ef045e19ebf77a64 (diff) | |
| download | box64-515f4e81195a48da2b924a802750a646df16e760.tar.gz box64-515f4e81195a48da2b924a802750a646df16e760.zip | |
Improve findBlockNearHint function and friends, again (in sync with box86)
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 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); |