diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-04-30 11:02:45 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-04-30 11:02:57 +0200 |
| commit | 31a6f5c4e32b267bad84057f3b53ad87a53c049c (patch) | |
| tree | c2dea27c660710f785bdf78bbc2a2538c8aea323 /src | |
| parent | 98535e572deb77e88b9f2f3634171b6b385fc1b5 (diff) | |
| download | box64-31a6f5c4e32b267bad84057f3b53ad87a53c049c.tar.gz box64-31a6f5c4e32b267bad84057f3b53ad87a53c049c.zip | |
[DYNAREC] Fixed DYNAREC_TEST false-positive when opcode use NOTEST and next opcode found a difference
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64test.c b/src/emu/x64test.c index 525b96c9..402ab235 100644 --- a/src/emu/x64test.c +++ b/src/emu/x64test.c @@ -147,7 +147,7 @@ void x64test_init(x64emu_t* ref, uintptr_t ip) uintptr_t prev_ip = test->emu->ip.q[0]; if(test->clean) x64test_check(ref, ip); - if(ip != prev_ip || !test->test) { + if(ip != prev_ip || !test->test || !test->clean) { CopyEmu(test->emu, ref); } } |