Fix x87_op being outside of structure, fixing crashes in ARM64 NDR

This commit is contained in:
Cacodemon345
2025-04-26 23:17:32 +06:00
parent fc06963a1a
commit e076c1051d
6 changed files with 20 additions and 3 deletions

View File

@@ -272,6 +272,7 @@ reset_common(int hard)
msr.fcr = (1 << 8) | (1 << 9) | (1 << 12) | (1 << 16) | (1 << 19) | (1 << 21);
msw = 0;
new_ne = 0;
x87_op = 0;
ccr0 = ccr1 = ccr2 = ccr3 = ccr4 = ccr5 = ccr6 = ccr7 = 0;
ccr4 = 0x85;