about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64test.c2
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);
         }
     }