1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-21 14:33:30 +01:00
Ryujinx/Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs

34 lines
936 B
C#
Raw Normal View History

using Ryujinx.Common.Logging;
namespace Ryujinx.HLE.HOS.Services.Ns
{
[Service("aoc:u")]
class IAddOnContentManager : IpcService
{
public IAddOnContentManager(ServiceCtx context) { }
2018-04-04 23:16:59 +01:00
[Command(2)]
// CountAddOnContent(u64, pid) -> u32
public static ResultCode CountAddOnContent(ServiceCtx context)
2018-04-04 23:16:59 +01:00
{
context.ResponseData.Write(0);
2018-04-04 23:16:59 +01:00
Logger.PrintStub(LogClass.ServiceNs);
return ResultCode.Success;
2018-04-04 23:16:59 +01:00
}
[Command(3)]
// ListAddOnContent(u32, u32, u64, pid) -> (u32, buffer<u32, 6>)
public static ResultCode ListAddOnContent(ServiceCtx context)
{
Logger.PrintStub(LogClass.ServiceNs);
// TODO: This is supposed to write a u32 array aswell.
// It's unknown what it contains.
context.ResponseData.Write(0);
return ResultCode.Success;
}
}
}