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

@@ -228,12 +228,10 @@ FPU_save_regi_tag(extFloat80_t reg, int tag, int stnr)
#define FPU_check_pending_exceptions() \
do { \
if (fpu_state.swd & FPU_SW_Summary) { \
if (cr0 & 0x20) { \
if (is486 && (cr0 & 0x20)) \
x86_int(16); \
return 1; \
} else { \
else \
picint(1 << 13); \
return 1; \
} \
return 1; \
} \
} while (0)