about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-12-06 22:21:23 +0800
committerGitHub <noreply@github.com>2024-12-06 15:21:23 +0100
commitb250056a61200c1e518ef46d245145d5b87c38ca (patch)
treed67667c222900911afbefd3918e3bc7b2d51e81b /src
parente305e5f1bb7fbd44fcb8f30666b9ea2b681f9676 (diff)
downloadbox64-b250056a61200c1e518ef46d245145d5b87c38ca.tar.gz
box64-b250056a61200c1e518ef46d245145d5b87c38ca.zip
[DYNAREC] Fixed a typo which leads to regression (#2121)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/dynarec_native_pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_native_pass.c b/src/dynarec/dynarec_native_pass.c
index 43d07719..d180b2d5 100644
--- a/src/dynarec/dynarec_native_pass.c
+++ b/src/dynarec/dynarec_native_pass.c
@@ -182,7 +182,7 @@ uintptr_t native_pass(dynarec_native_t* dyn, uintptr_t addr, int alternate, int
                 else { tmp1=x1; tmp2=x2; tmp3=x3; }
                 fpu_purgecache(dyn, ninst, 0, tmp1, tmp2, tmp3);
                 #else
-                fpu_purgecache(dyn, next, 0, x1, x2, x3);
+                fpu_purgecache(dyn, ninst, 0, x1, x2, x3);
                 #endif
             }
             if(dyn->insts[next].x64.barrier&BARRIER_FLAGS) {