Update ISslService.cs
This commit is contained in:
parent
4cc0535364
commit
7628cf2567
1 changed files with 8 additions and 5 deletions
|
@ -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)
|
public long CreateContext(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
int Version = Context.RequestData.ReadInt32();
|
int Version = Context.RequestData.ReadInt32();
|
||||||
|
|
||||||
long Unknown = Context.RequestData.ReadInt64();
|
long Unknown = Context.RequestData.ReadInt64();
|
||||||
|
|
||||||
|
Context.Device.Log.PrintStub(LogClass.ServiceSsl, $"Stubbed. Version: {Version} - Unknown: {Unknown}");
|
||||||
|
|
||||||
MakeObject(Context, new ISslContext());
|
MakeObject(Context, new ISslContext());
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetInterfaceVersion(u32)
|
||||||
public long SetInterfaceVersion(ServiceCtx Context)
|
public long SetInterfaceVersion(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
int Version = Context.RequestData.ReadInt32();
|
int Version = Context.RequestData.ReadInt32();
|
||||||
|
|
||||||
Context.Ns.Log.PrintStub(LogClass.ServiceSsl, "Stubbed.");
|
Context.Ns.Log.PrintStub(LogClass.ServiceSsl, $"Stubbed. Version: {Version}");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue