From: Aleksandar Andrejevic Date: Sun, 10 Nov 2013 22:49:19 +0000 (+0000) Subject: [FAST486] X-Git-Tag: backups/0.3.17@66124~1365^2~269 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=7ec93e81ff612f0990054833c119d989909583b2 [FAST486] Increment SP, not ESP for 16-bit stacks. svn path=/branches/ntvdm/; revision=60925 --- diff --git a/lib/fast486/common.inl b/lib/fast486/common.inl index 4d8fdb27c4f..a45c244cd87 100644 --- a/lib/fast486/common.inl +++ b/lib/fast486/common.inl @@ -365,7 +365,7 @@ Fast486StackPop(PFAST486_STATE State, } /* Increment SP by 2 */ - State->GeneralRegs[FAST486_REG_ESP].Long += 2; + State->GeneralRegs[FAST486_REG_ESP].LowWord += 2; /* Store the value in the result */ *Value = ShortValue;