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:
Jacek Caban 2021-02-22 18:02:05 +01:00 committed by Alexandre Julliard
parent b3dfc903ef
commit bdf4b3b400
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
/*******************************************************************

View File

@ -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 );
}