diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-05-06 09:39:29 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-05-06 09:39:29 +0200 |
| commit | 0a558652e32c059fff866e1098ad09d1540c22d7 (patch) | |
| tree | d638157cefbabcb64356e151a68bf39a635eb5ea /src/libtools | |
| parent | 30126c9288ca6bb53ca8f1d7c13bb811f47a0d0b (diff) | |
| download | box64-0a558652e32c059fff866e1098ad09d1540c22d7.tar.gz box64-0a558652e32c059fff866e1098ad09d1540c22d7.zip | |
[DYNAREC] Made FASTPAGE more agressive
Diffstat (limited to 'src/libtools')
| -rwxr-xr-x | src/libtools/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtools/signals.c b/src/libtools/signals.c index 7f68f598..89c0f0f0 100755 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -939,7 +939,7 @@ void my_box64signalhandler(int32_t sig, siginfo_t* info, void * ucntx) } // access error, unprotect the block (and mark them dirty) unprotectDB((uintptr_t)addr, 1, 1); // unprotect 1 byte... But then, the whole page will be unprotected - int db_need_test = db?getNeedTest((uintptr_t)db->x64_addr):0; + int db_need_test = (db && !box64_dynarec_fastpage)?getNeedTest((uintptr_t)db->x64_addr):0; if(db && ((addr>=db->x64_addr && addr<(db->x64_addr+db->x64_size)) || db_need_test)) { // dynablock got auto-dirty! need to get out of it!!! emu_jmpbuf_t* ejb = GetJmpBuf(); |