From: Aleksandar Andrejevic Date: Wed, 13 Nov 2013 22:34:38 +0000 (+0000) Subject: [FAST486] X-Git-Tag: backups/0.3.17@66124~1365^2~236 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=a3513c8f18a9d8aad3f5c9c66fe1fa6bc4887c14;ds=sidebyside [FAST486] Fix previous fix. svn path=/branches/ntvdm/; revision=60985 --- diff --git a/lib/fast486/opgroups.c b/lib/fast486/opgroups.c index 0a297aed414..754a9d8fc90 100644 --- a/lib/fast486/opgroups.c +++ b/lib/fast486/opgroups.c @@ -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; }