IProfile.cs 900 B

123456789101112131415161718192021222324252627282930313233
  1. using Ryujinx.Core.OsHle.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.Core.OsHle.Objects.Acc
  4. {
  5. class IProfile : IIpcInterface
  6. {
  7. private Dictionary<int, ServiceProcessRequest> m_Commands;
  8. public IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  9. public IProfile()
  10. {
  11. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  12. {
  13. { 1, GetBase }
  14. };
  15. }
  16. public long GetBase(ServiceCtx Context)
  17. {
  18. Context.ResponseData.Write(0L);
  19. Context.ResponseData.Write(0L);
  20. Context.ResponseData.Write(0L);
  21. Context.ResponseData.Write(0L);
  22. Context.ResponseData.Write(0L);
  23. Context.ResponseData.Write(0L);
  24. Context.ResponseData.Write(0L);
  25. return 0;
  26. }
  27. }
  28. }