aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs b/src/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs
new file mode 100644
index 00000000..318ad30e
--- /dev/null
+++ b/src/Ryujinx.HLE/HOS/Services/Ncm/Lr/ILocationResolverManager.cs
@@ -0,0 +1,22 @@
+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;
+ }
+ }
+} \ No newline at end of file