[FAST486]: Fix a comment and use the TOGGLE_OPSIZE macro.

svn path=/trunk/; revision=65446
This commit is contained in:
Hermès Bélusca-Maïto 2014-11-22 16:23:59 +00:00
parent 34e909ecc9
commit e9b8b6f597
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,7 @@ Fast486StackPush(PFAST486_STATE State,
BOOLEAN Size = State->SegmentRegs[FAST486_REG_CS].Size;
/* The OPSIZE prefix toggles the size */
if (State->PrefixFlags & FAST486_PREFIX_OPSIZE) Size = !Size;
TOGGLE_OPSIZE(Size);
if (Size)
{

View file

@ -4679,7 +4679,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeIret)
/* Return to VM86 mode */
ULONG Es, Ds, Fs, Gs;
/* Pop ESP, SS, ES, FS, GS */
/* Pop ESP, SS, ES, DS, FS, GS */
if (!Fast486StackPop(State, &StackPtr)) return;
if (!Fast486StackPop(State, &StackSel)) return;
if (!Fast486StackPop(State, &Es)) return;