diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-01-28 21:59:14 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-01-28 21:59:14 +0100 |
| commit | 4e645debaadb92a8dc38e305bac2ccdee939c3ca (patch) | |
| tree | d644ceac22077745cf4c0bdaa0282118ac41940c /src | |
| parent | 821ab99bf7087a465b58302c8031e3401195c304 (diff) | |
| download | box64-4e645debaadb92a8dc38e305bac2ccdee939c3ca.tar.gz box64-4e645debaadb92a8dc38e305bac2ccdee939c3ca.zip | |
[DYNAREC] Fixed a potential crash when running without Dynarec
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64run0f.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c index 88a0c693..a9adc844 100644 --- a/src/emu/x64run0f.c +++ b/src/emu/x64run0f.c @@ -912,7 +912,8 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step) break; case 7: /* CLFLUSH Ed */ #ifdef DYNAREC - cleanDBFromAddressRange((uintptr_t)ED, 8, 0); + if(box64_dynarec) + cleanDBFromAddressRange((uintptr_t)ED, 8, 0); #endif break; default: |