Commit bdf4b3b4 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ntdll: Use NtContinue in RtlRestoreContext.

parent b3dfc903
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment