summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-02-20 08:34:21 -0600
committer cracyc <cracyc@users.noreply.github.com>2016-02-20 08:34:21 -0600
commit4a5cc0d71f2b7bb18c6ba2cc3ad8192d469e831b (patch)
tree1968483b2d2e20e119246d30b43b5facdf3021fb /src
parent234b611632a3dd33b87b2cd1e1142571f22438df (diff)
i386: stuff (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/i386/i386ops.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/i386/i386ops.inc b/src/devices/cpu/i386/i386ops.inc
index 82d49a3008e..2f13445c8be 100644
--- a/src/devices/cpu/i386/i386ops.inc
+++ b/src/devices/cpu/i386/i386ops.inc
@@ -2506,8 +2506,8 @@ void i386_device::i386_loadall() // Opcode 0x0f 0x07 (0x0f 0x05 on 80286),
{
if(PROTECTED_MODE && (m_CPL != 0))
FAULT(FAULT_GP,0)
- UINT32 ea = i386_translate(ES, REG32(EDI), 1);
- m_cr[0] = READ32(ea);
+ UINT32 ea = i386_translate(ES, REG32(EDI), 0);
+ m_cr[0] = READ32(ea) & 0xfffeffff; // wp not supported on 386
set_flags(READ32(ea + 0x04));
m_eip = READ32(ea + 0x08);
REG32(EDI) = READ32(ea + 0x0c);