From b250056a61200c1e518ef46d245145d5b87c38ca Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Fri, 6 Dec 2024 22:21:23 +0800 Subject: [PATCH] [DYNAREC] Fixed a typo which leads to regression (#2121) --- src/dynarec/dynarec_native_pass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dynarec/dynarec_native_pass.c b/src/dynarec/dynarec_native_pass.c index 43d077196..d180b2d55 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) {