From 7bf2caa5c4ef9662b9da66f3f895ed538692946e Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 3 Oct 2025 15:45:11 +0200 Subject: [DYNAREC] Added BOX64_DYNAREC_NOHOTPAGE to disabled hotpage detection --- src/custommem.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/custommem.c') 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); -- cgit 1.4.1