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