mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
22 lines
No EOL
606 B
C#
22 lines
No EOL
606 B
C#
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) { }
|
|
|
|
[CommandCmif(0)]
|
|
// OpenLocationResolver()
|
|
public ResultCode OpenLocationResolver(ServiceCtx context)
|
|
{
|
|
StorageId storageId = (StorageId)context.RequestData.ReadByte();
|
|
|
|
MakeObject(context, new ILocationResolver(storageId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |