ISystemManager.cs 517 B

12345678910111213141516171819
  1. using Ryujinx.HLE.HOS.Services.Nfc.NfcManager;
  2. namespace Ryujinx.HLE.HOS.Services.Nfc
  3. {
  4. [Service("nfc:sys")]
  5. class ISystemManager : IpcService
  6. {
  7. public ISystemManager(ServiceCtx context) { }
  8. [CommandHipc(0)]
  9. // CreateSystemInterface() -> object<nn::nfc::detail::ISystem>
  10. public ResultCode CreateSystemInterface(ServiceCtx context)
  11. {
  12. MakeObject(context, new INfc(NfcPermissionLevel.System));
  13. return ResultCode.Success;
  14. }
  15. }
  16. }