diff options
author | cracyc <cracyc@users.noreply.github.com> | 2013-04-05 22:52:24 +0000 |
---|---|---|
committer | cracyc <cracyc@users.noreply.github.com> | 2013-04-05 22:52:24 +0000 |
commit | a9422040c78a802c8d3a203d7407ff91bcdc4de5 (patch) | |
tree | 0b98983eed98d0a596273377648b89d073c4c3d8 | |
parent | b622dd4d6fd1408b18964158f1c7a05369f0541e (diff) |
i386: forgot to save (nw)
-rw-r--r-- | src/emu/cpu/i386/i386op32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/i386/i386op32.c b/src/emu/cpu/i386/i386op32.c index a11702cb316..a59c89718cc 100644 --- a/src/emu/cpu/i386/i386op32.c +++ b/src/emu/cpu/i386/i386op32.c @@ -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; |