Ryujinx/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs

22 lines
606 B
C#
Raw Normal View History

using LibHac.Ncm;
using Ryujinx.HLE.HOS.Services.Ncm.Lr.LocationResolverManager;
namespace Ryujinx.HLE.HOS.Services.Ncm.Lr
{
[Service("lr")]
class ILocationResolverManager : IpcService
{
public ILocationResolverManager(ServiceCtx context) { }
[CommandHipc(0)]
// OpenLocationResolver()
public ResultCode OpenLocationResolver(ServiceCtx context)
{
StorageId storageId = (StorageId)context.RequestData.ReadByte();
MakeObject(context, new ILocationResolver(storageId));
return ResultCode.Success;
}
}
}