From 66b935ab69d791ace7bd54a1c388163cb656a083 Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 30 Dec 2019 14:29:40 -0600 Subject: i386: oops (nw) --- src/devices/cpu/i386/x87ops.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/i386/x87ops.hxx b/src/devices/cpu/i386/x87ops.hxx index 5ed9fcaf62d..31789dbf0d7 100644 --- a/src/devices/cpu/i386/x87ops.hxx +++ b/src/devices/cpu/i386/x87ops.hxx @@ -141,7 +141,7 @@ uint32_t i386_device::Getx87EA(uint8_t modrm, int rwn) uint32_t ea; modrm_to_EA(modrm, &ea, &segment); uint32_t ret = i386_translate(segment, ea, rwn); - m_x87_ds = segment; + m_x87_ds = m_sreg[segment].selector; if (PROTECTED_MODE && !V8086_MODE) m_x87_data_ptr = ea; else -- cgit v1.2.3