about summary refs log tree commit diff stats
path: root/src/dynarec/la64
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-05 19:12:11 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-05 19:12:19 +0200
commit19dc18f7c51bcef6f8ec00f3521b8f3e8541e96c (patch)
tree62652e5f66ff6a1dcc9274b7a021011675914bb0 /src/dynarec/la64
parent4e63b82f5eda8995a2b5cd09d64304ac9e30dbd6 (diff)
downloadbox64-19dc18f7c51bcef6f8ec00f3521b8f3e8541e96c.tar.gz
box64-19dc18f7c51bcef6f8ec00f3521b8f3e8541e96c.zip
Fixed a regression introduced with box32 that broke Bladur's Gate 3 (and probably a few other)
Diffstat (limited to 'src/dynarec/la64')
-rw-r--r--src/dynarec/la64/dynarec_la64_0f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/la64/dynarec_la64_0f.c b/src/dynarec/la64/dynarec_la64_0f.c
index 46fea7ed..eadd17aa 100644
--- a/src/dynarec/la64/dynarec_la64_0f.c
+++ b/src/dynarec/la64/dynarec_la64_0f.c
@@ -764,7 +764,7 @@ uintptr_t dynarec64_0F(dynarec_la64_t* dyn, uintptr_t addr, uintptr_t ip, int ni
                         } else {
                             addr = geted(dyn, addr, ninst, nextop, &ed, x1, x3, &fixedaddress, rex, NULL, 0, 0);
                             if (ed != x1) { MV(x1, ed); }
-                            CALL(rex.w ? ((void*)fpu_fxsave64) : ((void*)fpu_fxsave32), -1);
+                            CALL(rex.is32bits ? ((void*)fpu_fxsave32) : ((void*)fpu_fxsave64), -1);
                         }
                         break;
                     case 2: