FPU: Properly implement INT 10h FPU exception, fixes #5162.

This commit is contained in:
OBattler
2025-01-19 09:06:39 +01:00
parent 5e12d46f32
commit 40fd79aeb9
10 changed files with 55 additions and 15 deletions

View File

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