ILocationResolverManager.cs 618 B

12345678910111213141516171819202122
  1. using Ryujinx.HLE.FileSystem;
  2. using Ryujinx.HLE.HOS.Services.Ncm.Lr.LocationResolverManager;
  3. namespace Ryujinx.HLE.HOS.Services.Ncm.Lr
  4. {
  5. [Service("lr")]
  6. class ILocationResolverManager : IpcService
  7. {
  8. public ILocationResolverManager(ServiceCtx context) { }
  9. [CommandHipc(0)]
  10. // OpenLocationResolver()
  11. public ResultCode OpenLocationResolver(ServiceCtx context)
  12. {
  13. StorageId storageId = (StorageId)context.RequestData.ReadByte();
  14. MakeObject(context, new ILocationResolver(storageId));
  15. return ResultCode.Success;
  16. }
  17. }
  18. }