diff --git a/Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs b/Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs new file mode 100644 index 0000000000..3edee1e536 --- /dev/null +++ b/Ryujinx.HLE/OsHle/Services/Ssl/ISslContext.cs @@ -0,0 +1,20 @@ +using Ryujinx.HLE.OsHle.Ipc; +using System.Collections.Generic; + +namespace Ryujinx.HLE.OsHle.Services.Ssl +{ + class ISslContext : IpcService + { + private Dictionary m_Commands; + + public override IReadOnlyDictionary Commands => m_Commands; + + public ISslContext() + { + m_Commands = new Dictionary() + { + //... + }; + } + } +} diff --git a/Ryujinx.HLE/OsHle/Services/Ssl/ISslService.cs b/Ryujinx.HLE/OsHle/Services/Ssl/ISslService.cs index 0bf4c14465..3fe1184b9c 100644 --- a/Ryujinx.HLE/OsHle/Services/Ssl/ISslService.cs +++ b/Ryujinx.HLE/OsHle/Services/Ssl/ISslService.cs @@ -14,9 +14,21 @@ namespace Ryujinx.HLE.OsHle.Services.Ssl { m_Commands = new Dictionary() { + { 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; } } -} \ No newline at end of file +}