ngct: Fix services and stub calls (#1756)
This commit is contained in:
parent
c9b6be1ef8
commit
c0b9ac6653
5 changed files with 139 additions and 9 deletions
24
Ryujinx.HLE/HOS/Services/Ngct/IService.cs
Normal file
24
Ryujinx.HLE/HOS/Services/Ngct/IService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue