aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Arp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Arp')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Arp/ApplicationLaunchProperty.cs26
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Arp/IReader.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Arp/IWriter.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs7
4 files changed, 18 insertions, 19 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Arp/ApplicationLaunchProperty.cs b/src/Ryujinx.HLE/HOS/Services/Arp/ApplicationLaunchProperty.cs
index 3e4eca0a..9c2b9d19 100644
--- a/src/Ryujinx.HLE/HOS/Services/Arp/ApplicationLaunchProperty.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Arp/ApplicationLaunchProperty.cs
@@ -5,10 +5,10 @@ namespace Ryujinx.HLE.HOS.Services.Arp
class ApplicationLaunchProperty
{
public ulong TitleId;
- public int Version;
- public byte BaseGameStorageId;
- public byte UpdateGameStorageId;
-#pragma warning disable CS0649
+ public int Version;
+ public byte BaseGameStorageId;
+ public byte UpdateGameStorageId;
+#pragma warning disable CS0649 // Field is never assigned to
public short Padding;
#pragma warning restore CS0649
@@ -18,10 +18,10 @@ namespace Ryujinx.HLE.HOS.Services.Arp
{
return new ApplicationLaunchProperty
{
- TitleId = 0x00,
- Version = 0x00,
- BaseGameStorageId = (byte)StorageId.BuiltInSystem,
- UpdateGameStorageId = (byte)StorageId.None
+ TitleId = 0x00,
+ Version = 0x00,
+ BaseGameStorageId = (byte)StorageId.BuiltInSystem,
+ UpdateGameStorageId = (byte)StorageId.None,
};
}
}
@@ -33,11 +33,11 @@ namespace Ryujinx.HLE.HOS.Services.Arp
return new ApplicationLaunchProperty
{
- TitleId = context.Device.Processes.ActiveApplication.ProgramId,
- Version = 0x00,
- BaseGameStorageId = (byte)StorageId.BuiltInSystem,
- UpdateGameStorageId = (byte)StorageId.None
+ TitleId = context.Device.Processes.ActiveApplication.ProgramId,
+ Version = 0x00,
+ BaseGameStorageId = (byte)StorageId.BuiltInSystem,
+ UpdateGameStorageId = (byte)StorageId.None,
};
}
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Arp/IReader.cs b/src/Ryujinx.HLE/HOS/Services/Arp/IReader.cs
index 35a2de0c..90cba861 100644
--- a/src/Ryujinx.HLE/HOS/Services/Arp/IReader.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Arp/IReader.cs
@@ -5,4 +5,4 @@
{
public IReader(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Arp/IWriter.cs b/src/Ryujinx.HLE/HOS/Services/Arp/IWriter.cs
index 8d13f0fb..7c3992c7 100644
--- a/src/Ryujinx.HLE/HOS/Services/Arp/IWriter.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Arp/IWriter.cs
@@ -5,4 +5,4 @@
{
public IWriter(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs b/src/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs
index d7686871..fdddb79e 100644
--- a/src/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Arp/LibHacIReader.cs
@@ -3,7 +3,6 @@ using LibHac.Common;
using LibHac.Ncm;
using LibHac.Ns;
using System;
-
using ApplicationId = LibHac.ApplicationId;
namespace Ryujinx.HLE.HOS.Services.Arp
@@ -17,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Arp
launchProperty = new LibHac.Arp.ApplicationLaunchProperty
{
StorageId = StorageId.BuiltInUser,
- ApplicationId = ApplicationId
+ ApplicationId = ApplicationId,
};
return Result.Success;
@@ -30,7 +29,7 @@ namespace Ryujinx.HLE.HOS.Services.Arp
launchProperty = new LibHac.Arp.ApplicationLaunchProperty
{
StorageId = StorageId.BuiltInUser,
- ApplicationId = applicationId
+ ApplicationId = applicationId,
};
return Result.Success;
@@ -73,4 +72,4 @@ namespace Ryujinx.HLE.HOS.Services.Arp
return Result.Success;
}
}
-} \ No newline at end of file
+}