about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-10-27 17:06:04 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-10-27 17:07:04 +0200
commit8a1e4cdf306ff3f57a8603004e068549248db29b (patch)
tree994cd08a10e497972d8621b6673be4f75c7934e9 /src/emu
parente574dca3737059c013e82238eea819fc27686504 (diff)
downloadbox64-8a1e4cdf306ff3f57a8603004e068549248db29b.tar.gz
box64-8a1e4cdf306ff3f57a8603004e068549248db29b.zip
[ARM64_DYNAREC] Ported fprem/fprem1 from box86 (fix camera issues in FlatOut / FlatOut 2)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64emu_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/x64emu_private.h b/src/emu/x64emu_private.h
index c5c4f4d9..aa6584a7 100644
--- a/src/emu/x64emu_private.h
+++ b/src/emu/x64emu_private.h
@@ -61,10 +61,11 @@ typedef struct x64emu_s {
     // fpu / mmx
 	mmx87_regs_t x87[8];
 	mmx87_regs_t mmx[8];
-	x87control_t cw;
 	x87flags_t  sw;
 	uint32_t    top;        // top is part of sw, but it's faster to have it separately
     int         fpu_stack;
+	x87control_t cw;
+    uint16_t    dummy_cw;   // align...
     mmxcontrol_t mxcsr;
     fpu_ld_t    fpu_ld[8]; // for long double emulation / 80bits fld fst
     fpu_ll_t    fpu_ll[8]; // for 64bits fild / fist sequence