diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-10-03 15:45:11 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-10-03 15:45:11 +0200 |
| commit | 7bf2caa5c4ef9662b9da66f3f895ed538692946e (patch) | |
| tree | 35b83a3e08da983735a510fb2f3953480b155907 /src/custommem.c | |
| parent | 6ae0524da64f2456208efeaa32b52ab446fb7e7f (diff) | |
| download | box64-7bf2caa5c4ef9662b9da66f3f895ed538692946e.tar.gz box64-7bf2caa5c4ef9662b9da66f3f895ed538692946e.zip | |
[DYNAREC] Added BOX64_DYNAREC_NOHOTPAGE to disabled hotpage detection
Diffstat (limited to 'src/custommem.c')
| -rw-r--r-- | src/custommem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/custommem.c b/src/custommem.c index c0f5c028..7c997422 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -2250,6 +2250,8 @@ void CheckHotPage(uintptr_t addr, uint32_t prot) return; if(prot&PROT_NEVERCLEAN && BOX64ENV(dynarec_dirty)==2) return; + if(BOX64ENV(dynarec_nohotpage)) + return; uintptr_t page = addr>>12; // look for idx int idx = IdxHotPage(page); |