mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
i386: forgot to save (nw)
This commit is contained in:
parent
b622dd4d6f
commit
a9422040c7
@ -3299,7 +3299,7 @@ static void I386OP(lar_r32_rm32)(i386_state *cpustate) // Opcode 0x0f 0x02
|
||||
return;
|
||||
}
|
||||
UINT8 DPL = (seg.flags >> 5) & 3;
|
||||
if((DPL < cpustate->CPL) && (DPL < (seg.selector & 3)) && ((seg.flags & 0x1c) != 0x1c))
|
||||
if(((DPL < cpustate->CPL) || (DPL < (seg.selector & 3))) && ((seg.flags & 0x1c) != 0x1c))
|
||||
{
|
||||
SetZF(0);
|
||||
return;
|
||||
@ -3364,7 +3364,7 @@ static void I386OP(lsl_r32_rm32)(i386_state *cpustate) // Opcode 0x0f 0x03
|
||||
return;
|
||||
}
|
||||
UINT8 DPL = (seg.flags >> 5) & 3;
|
||||
if((DPL < cpustate->CPL) && (DPL < (seg.selector & 3)) && ((seg.flags & 0x1c) != 0x1c))
|
||||
if(((DPL < cpustate->CPL) || (DPL < (seg.selector & 3))) && ((seg.flags & 0x1c) != 0x1c))
|
||||
{
|
||||
SetZF(0);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user