mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 12:08:55 +00:00
[FAST486]
Fix previous fix. svn path=/branches/ntvdm/; revision=60985
This commit is contained in:
parent
cd496c8e21
commit
a3513c8f18
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue