mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:51:11 +00:00
ntdll: Use the 32-bit RtlUserThreadStart as initial Eip in the 32-bit context.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
37705d9ff6
commit
1ce08530c3
|
@ -2930,7 +2930,7 @@ void DECLSPEC_HIDDEN call_init_thunk( LPTHREAD_START_ROUTINE entry, void *arg, B
|
|||
wow_context->Eax = (ULONG_PTR)entry;
|
||||
wow_context->Ebx = (ULONG_PTR)arg;
|
||||
wow_context->Esp = get_wow_teb( teb )->Tib.StackBase - 16;
|
||||
wow_context->Eip = (ULONG_PTR)pRtlUserThreadStart;
|
||||
wow_context->Eip = pLdrSystemDllInitBlock->pRtlUserThreadStart;
|
||||
wow_context->SegCs = cs32_sel;
|
||||
wow_context->SegDs = context.SegDs;
|
||||
wow_context->SegEs = context.SegEs;
|
||||
|
|
Loading…
Reference in a new issue