1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-11 12:16:39 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs

22 lines
614 B
C#
Raw Normal View History

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