IProfile.cs 992 B

123456789101112131415161718192021222324252627282930313233343536
  1. using Ryujinx.HLE.Logging;
  2. using Ryujinx.HLE.OsHle.Ipc;
  3. using System.Collections.Generic;
  4. namespace Ryujinx.HLE.OsHle.Services.Acc
  5. {
  6. class IProfile : IpcService
  7. {
  8. private Dictionary<int, ServiceProcessRequest> m_Commands;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  10. public IProfile()
  11. {
  12. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  13. {
  14. { 1, GetBase }
  15. };
  16. }
  17. public long GetBase(ServiceCtx Context)
  18. {
  19. Context.Ns.Log.PrintStub(LogClass.ServiceAcc, "Stubbed.");
  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. Context.ResponseData.Write(0L);
  26. Context.ResponseData.Write(0L);
  27. return 0;
  28. }
  29. }
  30. }