using Ryujinx.HLE.HOS.Ipc; using System.Collections.Generic; namespace Ryujinx.HLE.HOS.Services.Vi { class IManagerRootService : IpcService { private Dictionary _commands; public override IReadOnlyDictionary Commands => _commands; public IManagerRootService() { _commands = new Dictionary() { { 2, GetDisplayService } }; } public long GetDisplayService(ServiceCtx context) { int serviceType = context.RequestData.ReadInt32(); MakeObject(context, new IApplicationDisplayService()); return 0; } } }