mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-30 19:04:28 +01:00
33 lines
867 B
C#
33 lines
867 B
C#
|
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<int, ServiceProcessRequest> m_Commands;
|
|||
|
|
|||
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
|||
|
|
|||
|
public ILocationResolverManager()
|
|||
|
{
|
|||
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
|||
|
{
|
|||
|
{ 0, OpenLocationResolver },
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
// OpenLocationResolver()
|
|||
|
private long OpenLocationResolver(ServiceCtx Context)
|
|||
|
{
|
|||
|
StorageId StorageId = (StorageId)Context.RequestData.ReadByte();
|
|||
|
|
|||
|
MakeObject(Context, new ILocationResolver(StorageId));
|
|||
|
|
|||
|
return 0;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|