Skip to content

Commit

Permalink
[DYNAREC] Don't continue a dynablock if entering an hotpage
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Mar 10, 2025
1 parent d7c7a71 commit 5ed60d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynarec/dynarec_native_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ uintptr_t native_pass(dynarec_native_t* dyn, uintptr_t addr, int alternate, int
#if STEP == 0
if(cur_page != ((addr)&~(box64_pagesize-1))) {
cur_page = (addr)&~(box64_pagesize-1);
if(!(getProtection(addr)&PROT_READ)) {
if(!(getProtection(addr)&PROT_READ) || checkInHotPage(addr)) {
need_epilog = 1;
break;
}
Expand Down

0 comments on commit 5ed60d9

Please sign in to comment.