aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Arp
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2021-01-02 23:34:28 +0100
committerGitHub <noreply@github.com>2021-01-02 23:34:28 +0100
commitb001040c2f005da21f91713ba1145083a01d0b01 (patch)
tree26a5967abe4ff29bf9c47f0364b87e34d9421ca8 /Ryujinx.HLE/HOS/Services/Arp
parent4f01c13f5054e3af775fc956584b553da934d476 (diff)
account: Services Refactoring (#1833)
* account: Services Refactoring * Remove extra empty space * Fix IProfile::Get * address gdkchan feedback
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Arp')
-rw-r--r--Ryujinx.HLE/HOS/Services/Arp/IReader.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs29
2 files changed, 15 insertions, 16 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Arp/IReader.cs b/Ryujinx.HLE/HOS/Services/Arp/IReader.cs
index 5d1e2fff..35a2de0c 100644
--- a/Ryujinx.HLE/HOS/Services/Arp/IReader.cs
+++ b/Ryujinx.HLE/HOS/Services/Arp/IReader.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.HOS.Services.Hid
+namespace Ryujinx.HLE.HOS.Services.Arp
{
[Service("arp:r")]
class IReader : IpcService
diff --git a/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs b/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs
index 44d674a4..dc8ed2e6 100644
--- a/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs
+++ b/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs
@@ -1,5 +1,4 @@
using LibHac;
-using LibHac.Arp.Impl;
using LibHac.Ncm;
using LibHac.Ns;
using System;
@@ -8,7 +7,7 @@ using ApplicationId = LibHac.ApplicationId;
namespace Ryujinx.HLE.HOS.Services.Arp
{
- class LibHacIReader : IReader
+ class LibHacIReader : LibHac.Arp.Impl.IReader
{
private Horizon System { get; }
@@ -19,21 +18,22 @@ namespace Ryujinx.HLE.HOS.Services.Arp
public Result GetApplicationLaunchProperty(out LibHac.Arp.ApplicationLaunchProperty launchProperty, ulong processId)
{
- launchProperty = new LibHac.Arp.ApplicationLaunchProperty();
-
- launchProperty.BaseStorageId = StorageId.BuiltInUser;
- launchProperty.ApplicationId = new ApplicationId(System.Device.Application.TitleId);
+ launchProperty = new LibHac.Arp.ApplicationLaunchProperty
+ {
+ BaseStorageId = StorageId.BuiltInUser,
+ ApplicationId = new ApplicationId(System.Device.Application.TitleId)
+ };
return Result.Success;
}
- public Result GetApplicationLaunchPropertyWithApplicationId(out LibHac.Arp.ApplicationLaunchProperty launchProperty,
- ApplicationId applicationId)
+ public Result GetApplicationLaunchPropertyWithApplicationId(out LibHac.Arp.ApplicationLaunchProperty launchProperty, ApplicationId applicationId)
{
- launchProperty = new LibHac.Arp.ApplicationLaunchProperty();
-
- launchProperty.BaseStorageId = StorageId.BuiltInUser;
- launchProperty.ApplicationId = applicationId;
+ launchProperty = new LibHac.Arp.ApplicationLaunchProperty
+ {
+ BaseStorageId = StorageId.BuiltInUser,
+ ApplicationId = applicationId
+ };
return Result.Success;
}
@@ -43,10 +43,9 @@ namespace Ryujinx.HLE.HOS.Services.Arp
throw new NotImplementedException();
}
- public Result GetApplicationControlPropertyWithApplicationId(out ApplicationControlProperty controlProperty,
- ApplicationId applicationId)
+ public Result GetApplicationControlPropertyWithApplicationId(out ApplicationControlProperty controlProperty, ApplicationId applicationId)
{
throw new NotImplementedException();
}
}
-}
+} \ No newline at end of file