i386: stuff (nw)
This commit is contained in:
parent
234b611632
commit
4a5cc0d71f
@ -2506,8 +2506,8 @@ void i386_device::i386_loadall() // Opcode 0x0f 0x07 (0x0f 0x05 on 80286),
|
|||||||
{
|
{
|
||||||
if(PROTECTED_MODE && (m_CPL != 0))
|
if(PROTECTED_MODE && (m_CPL != 0))
|
||||||
FAULT(FAULT_GP,0)
|
FAULT(FAULT_GP,0)
|
||||||
UINT32 ea = i386_translate(ES, REG32(EDI), 1);
|
UINT32 ea = i386_translate(ES, REG32(EDI), 0);
|
||||||
m_cr[0] = READ32(ea);
|
m_cr[0] = READ32(ea) & 0xfffeffff; // wp not supported on 386
|
||||||
set_flags(READ32(ea + 0x04));
|
set_flags(READ32(ea + 0x04));
|
||||||
m_eip = READ32(ea + 0x08);
|
m_eip = READ32(ea + 0x08);
|
||||||
REG32(EDI) = READ32(ea + 0x0c);
|
REG32(EDI) = READ32(ea + 0x0c);
|
||||||
|
Loading…
Reference in New Issue
Block a user