Merge 4cc0535364
into 17f54b5d78
This commit is contained in:
commit
b0b643b0de
2 changed files with 33 additions and 1 deletions
20
Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs
Normal file
20
Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
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,21 @@ namespace Ryujinx.HLE.OsHle.Services.Ssl
|
|||
{
|
||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||
{
|
||||
{ 0, CreateContext },
|
||||
{ 5, SetInterfaceVersion }
|
||||
};
|
||||
}
|
||||
|
||||
public long CreateContext(ServiceCtx Context)
|
||||
{
|
||||
int Version = Context.RequestData.ReadInt32();
|
||||
|
||||
long Unknown = Context.RequestData.ReadInt64();
|
||||
|
||||
MakeObject(Context, new ISslContext());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public long SetInterfaceVersion(ServiceCtx Context)
|
||||
{
|
||||
|
@ -27,4 +39,4 @@ namespace Ryujinx.HLE.OsHle.Services.Ssl
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue