diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-11-30 14:02:28 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-11-30 14:02:28 +0100 |
| commit | 51aa4b0416fbd9e960b5699dde5f573d89b54ae4 (patch) | |
| tree | ceabba3bcf4e3a9ffe080fa8063563bd30016cf9 /src/include | |
| parent | b0db168fb57dd63e101c99b8c728aff9039a23bc (diff) | |
| download | box64-51aa4b0416fbd9e960b5699dde5f573d89b54ae4.tar.gz box64-51aa4b0416fbd9e960b5699dde5f573d89b54ae4.zip | |
Added a new memExist helper function and use it instead of getMmapped were it make sense
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/custommem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index d892079e..13874592 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -102,6 +102,7 @@ void refreshProtection(uintptr_t addr); uint32_t getProtection(uintptr_t addr); uint32_t getProtection_fast(uintptr_t addr); int getMmapped(uintptr_t addr); +int memExist(uintptr_t addr); void loadProtectionFromMap(void); #ifdef DYNAREC void protectDB(uintptr_t addr, size_t size); |