IPrepoService.cs 704 B

12345678910111213141516171819202122232425262728
  1. using Ryujinx.Common.Logging;
  2. using Ryujinx.HLE.HOS.Ipc;
  3. using System.Collections.Generic;
  4. namespace Ryujinx.HLE.HOS.Services.Prepo
  5. {
  6. class IPrepoService : IpcService
  7. {
  8. private Dictionary<int, ServiceProcessRequest> _commands;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
  10. public IPrepoService()
  11. {
  12. _commands = new Dictionary<int, ServiceProcessRequest>
  13. {
  14. { 10101, SaveReportWithUser }
  15. };
  16. }
  17. public static long SaveReportWithUser(ServiceCtx context)
  18. {
  19. Logger.PrintStub(LogClass.ServicePrepo);
  20. return 0;
  21. }
  22. }
  23. }