aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2021-09-15 01:24:49 +0200
committerGitHub <noreply@github.com>2021-09-15 01:24:49 +0200
commit5d08e9b495a2315e8a4758a8123466665085d044 (patch)
tree54a189acc7d9589e9678cc431b1bc9cca40682d0 /Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs
parent3f2486342b3ef4610b6af6a52624614d2a7ad8ae (diff)
hos: Cleanup the project (#2634)
* hos: Cleanup the project Since a lot of changes has been done on the HOS project, there are some leftover here and there, or class just used in one service, things at wrong places, and more. This PR fixes that, additionnally to that, I've realigned some vars because I though it make the code more readable. * Address gdkchan feedback * addresses Thog feedback * Revert ElfSymbol
Diffstat (limited to 'Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs')
-rw-r--r--Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs b/Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs
index f4ccb7ba..2f03d13a 100644
--- a/Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs
+++ b/Ryujinx.HLE/Exceptions/InvalidStructLayoutException.cs
@@ -7,9 +7,9 @@ namespace Ryujinx.HLE.Exceptions
{
static readonly Type _structType = typeof(T);
- public InvalidStructLayoutException(string message) : base(message) {}
+ public InvalidStructLayoutException(string message) : base(message) { }
- public InvalidStructLayoutException(int expectedSize) :
- base($"Type {_structType.Name} has the wrong size. Expected: {expectedSize} bytes, Got: {Unsafe.SizeOf<T>()} bytes") {}
+ public InvalidStructLayoutException(int expectedSize)
+ : base($"Type {_structType.Name} has the wrong size. Expected: {expectedSize} bytes, got: {Unsafe.SizeOf<T>()} bytes") { }
}
} \ No newline at end of file