ryujinx-mirror/Ryujinx.HLE/HOS/Services/Lr/ILocationResolverManager.cs

21 lines
548 B
C#
Raw Normal View History

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