Ryujinx-uplift/Ryujinx.Core/OsHle/Services/Ns/ServiceNs.cs

27 lines
658 B
C#
Raw Normal View History

using Ryujinx.Core.OsHle.Ipc;
using System.Collections.Generic;
2018-03-20 21:00:00 +01:00
namespace Ryujinx.Core.OsHle.Services.Ns
{
class ServiceNs : IpcService
{
private Dictionary<int, ServiceProcessRequest> m_Commands;
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
public ServiceNs()
{
m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
2018-04-05 00:16:59 +02:00
{ 2, CountAddOnContent }
};
}
2018-04-05 00:16:59 +02:00
public static long CountAddOnContent(ServiceCtx Context)
{
Context.ResponseData.Write(0);
return 0;
}
}
}