aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Nfc/Nfp/IDebugManager.cs
blob: b3eff0c2dfd77de9181088b32d85e053fd0e8ee5 (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.Nfc.Nfp.NfpManager;

namespace Ryujinx.HLE.HOS.Services.Nfc.Nfp
{
    [Service("nfp:dbg")]
    class IAmManager : IpcService
    {
        public IAmManager(ServiceCtx context) { }

        [CommandCmif(0)]
        // CreateDebugInterface() -> object<nn::nfp::detail::IDebug>
        public ResultCode CreateDebugInterface(ServiceCtx context)
        {
            MakeObject(context, new INfp(NfpPermissionLevel.Debug));

            return ResultCode.Success;
        }
    }
}