IAllSystemAppletProxiesService.cs 717 B

123456789101112131415161718192021222324252627
  1. using Ryujinx.HLE.OsHle.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.HLE.OsHle.Services.Am
  4. {
  5. class IAllSystemAppletProxiesService : IpcService
  6. {
  7. private Dictionary<int, ServiceProcessRequest> m_Commands;
  8. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  9. public IAllSystemAppletProxiesService()
  10. {
  11. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  12. {
  13. { 100, OpenSystemAppletProxy }
  14. };
  15. }
  16. public long OpenSystemAppletProxy(ServiceCtx Context)
  17. {
  18. MakeObject(Context, new ISystemAppletProxy());
  19. return 0;
  20. }
  21. }
  22. }