aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Ns/IAddOnContentManager.cs
blob: 13d56934775bc6839a4f805e4ed7b6f9792c57af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Ryujinx.Common.Logging;

namespace Ryujinx.HLE.HOS.Services.Ns
{
    [Service("aoc:u")]
    class IAddOnContentManager : IpcService
    {
        public IAddOnContentManager(ServiceCtx context) { }

        [Command(2)]
        // CountAddOnContent(u64, pid) -> u32
        public static ResultCode CountAddOnContent(ServiceCtx context)
        {
            context.ResponseData.Write(0);

            Logger.PrintStub(LogClass.ServiceNs);

            return ResultCode.Success;
        }

        [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;
        }
    }
}