ISystemDisplayService.cs 780 B

12345678910111213141516171819202122232425262728293031
  1. using Ryujinx.Core.OsHle.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.Core.OsHle.Services.Vi
  4. {
  5. class ISystemDisplayService : IpcService
  6. {
  7. private Dictionary<int, ServiceProcessRequest> m_Commands;
  8. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  9. public ISystemDisplayService()
  10. {
  11. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  12. {
  13. { 2205, SetLayerZ },
  14. { 2207, SetLayerVisibility }
  15. };
  16. }
  17. public static long SetLayerZ(ServiceCtx Context)
  18. {
  19. return 0;
  20. }
  21. public static long SetLayerVisibility(ServiceCtx Context)
  22. {
  23. return 0;
  24. }
  25. }
  26. }