diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-03-10 12:16:05 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-03-10 12:16:05 +0100 |
| commit | 9cef52a1fcda08d39449997585abf57ace0a1a47 (patch) | |
| tree | 2c41ff066c50d3b7fc01386a8b52662f2593e5ba | |
| parent | 5ed60d99a89f71499eabaa7b8ac7663fd0b49d42 (diff) | |
| download | box64-9cef52a1fcda08d39449997585abf57ace0a1a47.tar.gz box64-9cef52a1fcda08d39449997585abf57ace0a1a47.zip | |
[DYNAREC] Reduced lifetime of hotpage when using DIRTY=1
| -rw-r--r-- | src/custommem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c index 51a14f61..87d55778 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -1474,7 +1474,7 @@ static int hotpage_cnt = 0; static int repeated_count = 0; static uintptr_t repeated_page = 0; #define HOTPAGE_MARK 64 -#define HOTPAGE_DIRTY 8 +#define HOTPAGE_DIRTY 2 void SetHotPage(uintptr_t addr) { hotpage = addr&~(box64_pagesize-1); |