diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-04-07 12:45:32 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-04-07 12:45:32 +0200 |
| commit | 5c2f62657f41b59cbfdfa7d422120a97ec4d93f2 (patch) | |
| tree | b309b5f7cd41999a975a4f63248c7954f6112fc5 /src/include | |
| parent | ae34c7e1ccdb318d81574315d01b2605c40fbc66 (diff) | |
| download | box64-5c2f62657f41b59cbfdfa7d422120a97ec4d93f2.tar.gz box64-5c2f62657f41b59cbfdfa7d422120a97ec4d93f2.zip | |
Fixed float complex handling as parameter
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/complext.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |