commit | 3fa613cf61b1a189dae65f20b2ae2ef1ed3612b7 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Sat Aug 31 18:47:00 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sat Aug 31 18:47:00 2002 +0000 |
tree | 0478f77a11f5a5a2d7106e8bd5140a5652de0ee6 | |
parent | c08aa31f4e0809ce5bfd3e00b02029e603207c75 [diff] [blame] |
Moved internal context macros out of winnt.h. Added SET_AX etc. macros to avoid non-portable pointer manipulations.
diff --git a/loader/task.c b/loader/task.c index f2bd9c7..ab7884d 100644 --- a/loader/task.c +++ b/loader/task.c
@@ -1135,7 +1135,7 @@ /* Pop bp from the previous stack */ - BP_reg(context) = *(WORD *)MapSL(pData->old_ss_sp); + context->Ebp = (context->Ebp & ~0xffff) | *(WORD *)MapSL(pData->old_ss_sp); pData->old_ss_sp += sizeof(WORD); /* Switch back to the old stack */