0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-27 00:45:48 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs

27 lines
723 B
C#
Raw Normal View History

using Ryujinx.HLE.HOS.Ipc;
using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Ns
{
class IServiceGetterInterface : IpcService
{
private Dictionary<int, ServiceProcessRequest> _commands;
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
public IServiceGetterInterface()
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
{ 7996, GetApplicationManagerInterface }
};
}
public long GetApplicationManagerInterface(ServiceCtx context)
{
MakeObject(context, new IApplicationManagerInterface());
return 0;
}
}
}