[FAST486]

Fix previous fix.


svn path=/branches/ntvdm/; revision=60985
This commit is contained in:
Aleksandar Andrejevic 2013-11-13 22:34:38 +00:00
parent cd496c8e21
commit a3513c8f18

View file

@ -496,8 +496,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup8F)
if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm))
{
/* Exception occurred - restore SP */
if (OperandSize) State->GeneralRegs[FAST486_REG_ESP].Long += sizeof(ULONG);
else State->GeneralRegs[FAST486_REG_ESP].LowWord += sizeof(USHORT);
if (OperandSize) State->GeneralRegs[FAST486_REG_ESP].Long -= sizeof(ULONG);
else State->GeneralRegs[FAST486_REG_ESP].LowWord -= sizeof(USHORT);
return FALSE;
}