Fix FPU reporting, fixes #5033.

This commit is contained in:
OBattler
2024-12-14 00:59:52 +01:00
parent e2866a2909
commit 11b588c6bb
5 changed files with 17 additions and 28 deletions

View File

@@ -355,7 +355,10 @@ FPU_exception(uint32_t fetchdat, uint16_t exceptions, int store)
nmi = 1;
}
#else
picint(1 << 13);
if (is486 && (cr0 & 0x20))
x86_int(16);
else
picint(1 << 13);
#endif // FPU_8087
}
return unmasked;