Update ISslService.cs

This commit is contained in:
Ac_K 2018-10-05 01:11:10 +02:00 committed by GitHub
parent 4cc0535364
commit 7628cf2567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,22 +19,25 @@ namespace Ryujinx.HLE.OsHle.Services.Ssl
};
}
// CreateContext(nn::ssl::sf::SslVersion, u64, pid) -> object<nn::ssl::sf::ISslContext>
public long CreateContext(ServiceCtx Context)
{
int Version = Context.RequestData.ReadInt32();
int Version = Context.RequestData.ReadInt32();
long Unknown = Context.RequestData.ReadInt64();
Context.Device.Log.PrintStub(LogClass.ServiceSsl, $"Stubbed. Version: {Version} - Unknown: {Unknown}");
MakeObject(Context, new ISslContext());
return 0;
}
// SetInterfaceVersion(u32)
public long SetInterfaceVersion(ServiceCtx Context)
{
int Version = Context.RequestData.ReadInt32();
Context.Ns.Log.PrintStub(LogClass.ServiceSsl, "Stubbed.");
Context.Ns.Log.PrintStub(LogClass.ServiceSsl, $"Stubbed. Version: {Version}");
return 0;
}