IUser.cs 689 B

12345678910111213141516171819202122232425262728
  1. using Ryujinx.Core.Logging;
  2. using Ryujinx.Core.OsHle.Ipc;
  3. using System.Collections.Generic;
  4. namespace Ryujinx.Core.OsHle.Services.Nfp
  5. {
  6. class IUser : IpcService
  7. {
  8. private Dictionary<int, ServiceProcessRequest> m_Commands;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  10. public IUser()
  11. {
  12. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  13. {
  14. { 0, Initialize }
  15. };
  16. }
  17. public long Initialize(ServiceCtx Context)
  18. {
  19. Context.Ns.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
  20. return 0;
  21. }
  22. }
  23. }