ISslService.cs 773 B

123456789101112131415161718192021222324252627282930
  1. using Ryujinx.HLE.Logging;
  2. using Ryujinx.HLE.OsHle.Ipc;
  3. using System.Collections.Generic;
  4. namespace Ryujinx.HLE.OsHle.Services.Ssl
  5. {
  6. class ISslService : IpcService
  7. {
  8. private Dictionary<int, ServiceProcessRequest> m_Commands;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  10. public ISslService()
  11. {
  12. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  13. {
  14. { 5, SetInterfaceVersion }
  15. };
  16. }
  17. public long SetInterfaceVersion(ServiceCtx Context)
  18. {
  19. int Version = Context.RequestData.ReadInt32();
  20. Context.Ns.Log.PrintStub(LogClass.ServiceSsl, "Stubbed.");
  21. return 0;
  22. }
  23. }
  24. }