ntdll: Use NtContinue in RtlRestoreContext.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b3dfc903ef
commit
bdf4b3b400
|
@ -1134,7 +1134,7 @@ void CDECL RtlRestoreContext( CONTEXT *context, EXCEPTION_RECORD *rec )
|
|||
}
|
||||
|
||||
TRACE( "returning to %lx stack %lx\n", context->Pc, context->Sp );
|
||||
NtSetContextThread( GetCurrentThread(), context );
|
||||
NtContinue( context, FALSE );
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
|
|
@ -1210,7 +1210,7 @@ void CDECL RtlRestoreContext( CONTEXT *context, EXCEPTION_RECORD *rec )
|
|||
}
|
||||
|
||||
TRACE( "returning to %p stack %p\n", (void *)context->Rip, (void *)context->Rsp );
|
||||
NtSetContextThread( GetCurrentThread(), context );
|
||||
NtContinue( context, FALSE );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue