diff options
author | Marco Carvalho <marcolucio27@gmail.com> | 2023-06-22 13:36:07 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 18:36:07 +0200 |
commit | 58907e2c290473326e5ab74bdfe1429b8a518ba4 (patch) | |
tree | 4d47637c517b0b0540e584acf4ad52d0b7b9e544 /src/Ryujinx.HLE/HOS | |
parent | 649d372f7da8559f8b6d74ca44af64ba7d7853c4 (diff) |
GetHashCode should not reference mutable fields (#5331)1.1.899
Diffstat (limited to 'src/Ryujinx.HLE/HOS')
-rw-r--r-- | src/Ryujinx.HLE/HOS/Services/Mii/Types/CreateId.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Mii/Types/CreateId.cs b/src/Ryujinx.HLE/HOS/Services/Mii/Types/CreateId.cs index c1a97f52..283d82fc 100644 --- a/src/Ryujinx.HLE/HOS/Services/Mii/Types/CreateId.cs +++ b/src/Ryujinx.HLE/HOS/Services/Mii/Types/CreateId.cs @@ -6,7 +6,7 @@ namespace Ryujinx.HLE.HOS.Services.Mii.Types [StructLayout(LayoutKind.Sequential, Pack = 1, Size = 0x10)] struct CreateId : IEquatable<CreateId> { - public UInt128 Raw; + public readonly UInt128 Raw; public bool IsNull => Raw == UInt128.Zero; public bool IsValid => !IsNull && ((Raw >> 64) & 0xC0) == 0x80; |