ServiceNs.cs 658 B

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