aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Ngct/IService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Ngct/IService.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ngct/IService.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Ngct/IService.cs b/src/Ryujinx.HLE/HOS/Services/Ngct/IService.cs
new file mode 100644
index 00000000..eacf35f3
--- /dev/null
+++ b/src/Ryujinx.HLE/HOS/Services/Ngct/IService.cs
@@ -0,0 +1,22 @@
+namespace Ryujinx.HLE.HOS.Services.Ngct
+{
+ [Service("ngct:u")] // 9.0.0+
+ class IService : IpcService
+ {
+ public IService(ServiceCtx context) { }
+
+ [CommandCmif(0)]
+ // Match(buffer<string, 9>) -> b8
+ public ResultCode Match(ServiceCtx context)
+ {
+ return NgctServer.Match(context);
+ }
+
+ [CommandCmif(1)]
+ // Filter(buffer<string, 9>) -> buffer<filtered_string, 10>
+ public ResultCode Filter(ServiceCtx context)
+ {
+ return NgctServer.Filter(context);
+ }
+ }
+} \ No newline at end of file