IService.cs 592 B

123456789101112131415161718192021222324
  1. using System.Text;
  2. namespace Ryujinx.HLE.HOS.Services.Ngct
  3. {
  4. [Service("ngct:u")] // 9.0.0+
  5. class IService : IpcService
  6. {
  7. public IService(ServiceCtx context) { }
  8. [CommandHipc(0)]
  9. // Match(buffer<string, 9>) -> b8
  10. public ResultCode Match(ServiceCtx context)
  11. {
  12. return NgctServer.Match(context);
  13. }
  14. [CommandHipc(1)]
  15. // Filter(buffer<string, 9>) -> buffer<filtered_string, 10>
  16. public ResultCode Filter(ServiceCtx context)
  17. {
  18. return NgctServer.Filter(context);
  19. }
  20. }
  21. }