mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-08 00:43:04 +00:00
Link ISslContext
This commit is contained in:
parent
494f8f0248
commit
f29300a3c6
2 changed files with 31 additions and 0 deletions
21
Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs
Normal file
21
Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
using Ryujinx.HLE.Logging;
|
||||||
|
using Ryujinx.HLE.OsHle.Ipc;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace Ryujinx.HLE.OsHle.Services.Ssl
|
||||||
|
{
|
||||||
|
class ISslContext : IpcService
|
||||||
|
{
|
||||||
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
||||||
|
|
||||||
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
||||||
|
|
||||||
|
public ISslContext()
|
||||||
|
{
|
||||||
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
|
{
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -14,9 +14,19 @@ namespace Ryujinx.HLE.OsHle.Services.Ssl
|
||||||
{
|
{
|
||||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
{
|
{
|
||||||
|
{ 0, CreateContext },
|
||||||
{ 5, SetInterfaceVersion }
|
{ 5, SetInterfaceVersion }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long CreateContext(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
long Id = Context.RequestData.ReadInt64();
|
||||||
|
|
||||||
|
MakeObject(Context, new ISslContext());
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
public long SetInterfaceVersion(ServiceCtx Context)
|
public long SetInterfaceVersion(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue