aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Am
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2019-07-01 21:39:22 -0500
committerAc_K <Acoustik666@gmail.com>2019-07-02 04:39:22 +0200
commitb2b736abc2569ab5d8199da666aef8d8394844a0 (patch)
tree88bcc2ae4fb0d4161c95df2cd7edb12388de922a /Ryujinx.HLE/HOS/Services/Am
parent10c74182babaf8cf6bedaeffd64c3109df4ea816 (diff)
Misc cleanup (#708)
* Fix typos * Remove unneeded using statements * Enforce var style more * Remove redundant qualifiers * Fix some indentation * Disable naming warnings on files with external enum names * Fix build * Mass find & replace for comments with no spacing * Standardize todo capitalization and for/if spacing
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Am')
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IApplicationCreator.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IApplicationFunctions.cs4
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IDebugFunctions.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IDisplayController.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IGlobalStateController.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IHomeMenuFunctions.cs2
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/IStorageAccessor.cs4
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/StorageHelper.cs2
8 files changed, 10 insertions, 10 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Am/IApplicationCreator.cs b/Ryujinx.HLE/HOS/Services/Am/IApplicationCreator.cs
index eac609ed..5f31b323 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IApplicationCreator.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IApplicationCreator.cs
@@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
- //...
+ // ...
};
}
}
diff --git a/Ryujinx.HLE/HOS/Services/Am/IApplicationFunctions.cs b/Ryujinx.HLE/HOS/Services/Am/IApplicationFunctions.cs
index 41bfb1c8..dc8adb93 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IApplicationFunctions.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IApplicationFunctions.cs
@@ -28,7 +28,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
public long PopLaunchParameter(ServiceCtx context)
{
- //Only the first 0x18 bytes of the Data seems to be actually used.
+ // Only the first 0x18 bytes of the Data seems to be actually used.
MakeObject(context, new IStorage(StorageHelper.MakeLaunchParams()));
return 0;
@@ -74,7 +74,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
public long GetDisplayVersion(ServiceCtx context)
{
- //FIXME: Need to check correct version on a switch.
+ // FIXME: Need to check correct version on a switch.
context.ResponseData.Write(1L);
context.ResponseData.Write(0L);
diff --git a/Ryujinx.HLE/HOS/Services/Am/IDebugFunctions.cs b/Ryujinx.HLE/HOS/Services/Am/IDebugFunctions.cs
index f7ea253d..a884a454 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IDebugFunctions.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IDebugFunctions.cs
@@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
- //...
+ // ...
};
}
}
diff --git a/Ryujinx.HLE/HOS/Services/Am/IDisplayController.cs b/Ryujinx.HLE/HOS/Services/Am/IDisplayController.cs
index 91fd864c..fc668f3c 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IDisplayController.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IDisplayController.cs
@@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
- //...
+ // ...
};
}
}
diff --git a/Ryujinx.HLE/HOS/Services/Am/IGlobalStateController.cs b/Ryujinx.HLE/HOS/Services/Am/IGlobalStateController.cs
index b9387661..634f65eb 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IGlobalStateController.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IGlobalStateController.cs
@@ -13,7 +13,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
- //...
+ // ...
};
}
}
diff --git a/Ryujinx.HLE/HOS/Services/Am/IHomeMenuFunctions.cs b/Ryujinx.HLE/HOS/Services/Am/IHomeMenuFunctions.cs
index e61fccb2..868e0215 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IHomeMenuFunctions.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IHomeMenuFunctions.cs
@@ -23,7 +23,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
{ 21, GetPopFromGeneralChannelEvent }
};
- //ToDo: Signal this Event somewhere in future.
+ // TODO: Signal this Event somewhere in future.
_channelEvent = new KEvent(system);
}
diff --git a/Ryujinx.HLE/HOS/Services/Am/IStorageAccessor.cs b/Ryujinx.HLE/HOS/Services/Am/IStorageAccessor.cs
index ac54069a..ac44e444 100644
--- a/Ryujinx.HLE/HOS/Services/Am/IStorageAccessor.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/IStorageAccessor.cs
@@ -33,7 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
public long Write(ServiceCtx context)
{
- //TODO: Error conditions.
+ // TODO: Error conditions.
long writePosition = context.RequestData.ReadInt64();
(long position, long size) = context.Request.GetBufferType0x21();
@@ -57,7 +57,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
public long Read(ServiceCtx context)
{
- //TODO: Error conditions.
+ // TODO: Error conditions.
long readPosition = context.RequestData.ReadInt64();
(long position, long size) = context.Request.GetBufferType0x22();
diff --git a/Ryujinx.HLE/HOS/Services/Am/StorageHelper.cs b/Ryujinx.HLE/HOS/Services/Am/StorageHelper.cs
index 39a4c6dd..a3dbbeb7 100644
--- a/Ryujinx.HLE/HOS/Services/Am/StorageHelper.cs
+++ b/Ryujinx.HLE/HOS/Services/Am/StorageHelper.cs
@@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Services.Am
public static byte[] MakeLaunchParams()
{
- //Size needs to be at least 0x88 bytes otherwise application errors.
+ // Size needs to be at least 0x88 bytes otherwise application errors.
using (MemoryStream ms = new MemoryStream())
{
BinaryWriter writer = new BinaryWriter(ms);