summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386/x87ops.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i386/x87ops.hxx')
-rw-r--r--src/devices/cpu/i386/x87ops.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/cpu/i386/x87ops.hxx b/src/devices/cpu/i386/x87ops.hxx
index b06db8e21c8..8b80441345b 100644
--- a/src/devices/cpu/i386/x87ops.hxx
+++ b/src/devices/cpu/i386/x87ops.hxx
@@ -146,6 +146,7 @@ uint32_t i386_device::Getx87EA(uint8_t modrm, int rwn)
m_x87_data_ptr = ea;
else
m_x87_data_ptr = ea + (segment << 4);
+ m_x87_opcode = ((m_opcode << 8) | modrm) & 0x7ff;
return ret;
}