From 5c2f62657f41b59cbfdfa7d422120a97ec4d93f2 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 7 Apr 2023 12:45:32 +0200 Subject: Fixed float complex handling as parameter --- src/include/complext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/complext.h b/src/include/complext.h index 3893268d..0866da25 100644 --- a/src/include/complext.h +++ b/src/include/complext.h @@ -12,7 +12,7 @@ typedef struct complexf_s { float r; float i;} complexf_t; inline complexf_t to_complexf(x64emu_t* emu, int i) { complexf_t ret; ret.r = emu->xmm[i].f[0]; - ret.i = emu->xmm[i+1].f[0]; + ret.i = emu->xmm[i].f[1]; return ret; } inline complex_t to_complex(x64emu_t* emu, int i) { -- cgit 1.4.1