using System; using System.Collections.Generic; using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.FileSystem; namespace Ryujinx.HLE.HOS.Services.Lr { class ILocationResolverManager : IpcService { private Dictionary m_Commands; public override IReadOnlyDictionary Commands => m_Commands; public ILocationResolverManager() { m_Commands = new Dictionary() { { 0, OpenLocationResolver }, }; } // OpenLocationResolver() private long OpenLocationResolver(ServiceCtx Context) { StorageId StorageId = (StorageId)Context.RequestData.ReadByte(); MakeObject(Context, new ILocationResolver(StorageId)); return 0; } } }