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
22
Ryujinx.HLE/HOS/Services/Ngct/IServiceWithManagementApi.cs
Normal file
22
Ryujinx.HLE/HOS/Services/Ngct/IServiceWithManagementApi.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
namespace Ryujinx.HLE.HOS.Services.Ngct
|
||||
{
|
||||
[Service("ngct:s")] // 9.0.0+
|
||||
class IServiceWithManagementApi : IpcService
|
||||
{
|
||||
public IServiceWithManagementApi(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