[FAST486]

- Call Fast486GetCurrentPrivLevel only when needed.
- Fix a type.

svn path=/branches/ntvdm/; revision=61211
This commit is contained in:
Hermès Bélusca-Maïto 2013-12-03 23:51:51 +00:00
parent aad49cc77c
commit a2bd742ecd
4 changed files with 20 additions and 23 deletions

View file

@ -1434,7 +1434,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
else if (ModRegRm.Register == 3)
{
USHORT Selector;
INT Segment = FAST486_REG_DS;
FAST486_SEG_REGS Segment = FAST486_REG_DS;
/* Check for the segment override */
if (State->PrefixFlags & FAST486_PREFIX_SEG)
@ -1487,7 +1487,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
else if (ModRegRm.Register == 5)
{
USHORT Selector;
INT Segment = FAST486_REG_DS;
FAST486_SEG_REGS Segment = FAST486_REG_DS;
/* Check for the segment override */
if (State->PrefixFlags & FAST486_PREFIX_SEG)
@ -1580,7 +1580,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
else if (ModRegRm.Register == 3)
{
USHORT Selector;
INT Segment = FAST486_REG_DS;
FAST486_SEG_REGS Segment = FAST486_REG_DS;
/* Check for the segment override */
if (State->PrefixFlags & FAST486_PREFIX_SEG)
@ -1636,7 +1636,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
else if (ModRegRm.Register == 5)
{
USHORT Selector;
INT Segment = FAST486_REG_DS;
FAST486_SEG_REGS Segment = FAST486_REG_DS;
/* Check for the segment override */
if (State->PrefixFlags & FAST486_PREFIX_SEG)