ngct: Fix services and stub calls (#1756)

This commit is contained in:
Ac_K
2020-12-10 03:08:28 +01:00
committed by GitHub
parent c9b6be1ef8
commit c0b9ac6653
5 changed files with 139 additions and 9 deletions

View File

@@ -0,0 +1,24 @@
using System.Text;
namespace Ryujinx.HLE.HOS.Services.Ngct
{
[Service("ngct:u")] // 9.0.0+
class IService : IpcService
{
public IService(ServiceCtx context) { }
[Command(0)]
// Match(buffer<string, 9>) -> b8
public ResultCode Match(ServiceCtx context)
{
return NgctServer.Match(context);
}
[Command(1)]
// Filter(buffer<string, 9>) -> buffer<filtered_string, 10>
public ResultCode Filter(ServiceCtx context)
{
return NgctServer.Filter(context);
}
}
}