aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Btm/IBtmUser.cs
blob: 68694187bc50847a722f19ff8d682d360f2a5290 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Ryujinx.HLE.HOS.Services.Btm.BtmUser;

namespace Ryujinx.HLE.HOS.Services.Btm
{
    [Service("btm:u")] // 5.0.0+
    class IBtmUser : IpcService
    {
        public IBtmUser(ServiceCtx context) { }

        [Command(0)] // 5.0.0+
        // GetCore() -> object<nn::btm::IBtmUserCore>
        public ResultCode GetCore(ServiceCtx context)
        {
            MakeObject(context, new IBtmUserCore());

            return ResultCode.Success;
        }
    }
}