FPU: Properly implement INT 10h FPU exception, fixes #5162.
This commit is contained in:
@@ -99,8 +99,8 @@ typedef union {
|
||||
dst = src1 / (double) src2; \
|
||||
else { \
|
||||
fpu_log("FPU : divide by zero\n"); \
|
||||
if (is486 && (cr0 & 0x20)) \
|
||||
x86_int(16); \
|
||||
if (cr0 & 0x20) \
|
||||
new_ne = 1; \
|
||||
else \
|
||||
picint(1 << 13); \
|
||||
return 1; \
|
||||
|
||||
Reference in New Issue
Block a user