summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i8087.cpp
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2022-05-26 14:13:56 -0500
committer cracyc <cracyc@users.noreply.github.com>2022-05-26 14:13:56 -0500
commitecdd2c5ddf40334f45a780075c92ecefcbcc3b6e (patch)
tree6e3430938e070dc265b09242c7100074b4a7a061 /src/devices/machine/i8087.cpp
parent1799466943e8773e39ac48c09c4338571376c43b (diff)
i8087: fsave resets the fpu
Diffstat (limited to 'src/devices/machine/i8087.cpp')
-rw-r--r--src/devices/machine/i8087.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/machine/i8087.cpp b/src/devices/machine/i8087.cpp
index 907bc50cab2..30015f0bb0c 100644
--- a/src/devices/machine/i8087.cpp
+++ b/src/devices/machine/i8087.cpp
@@ -4236,6 +4236,7 @@ void i8087_device::fsave(u8 modrm)
for (int i = 0; i < 8; ++i)
WRITE80(ea + i*10, ST(i));
+ reset();
CYCLES(67);
}