ILocationResolverManager.cs 547 B

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