aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-06-25 18:37:09 +0200
committerGitHub <noreply@github.com>2023-06-25 18:37:09 +0200
commitbc53d0046310293a90a4312fa9317bb698dded5c (patch)
tree1cb49891f7f116f2a872eca9a433102005007033 /src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs
parentbddb2a148355ef2ce326d47e8e5217bd8af36a98 (diff)
[Ryujinx.Graphics.Vic] Address dotnet-format issues (#5374)
* dotnet format style --severity info Some changes were manually reverted. * Restore a few unused methods and variables * Address review comments * Address most dotnet format whitespace warnings * Add comments to disabled warnings * Address IDE0251 warnings * dotnet format whitespace after rebase * Remove SuppressMessage attribute for removed rule
Diffstat (limited to 'src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs')
-rw-r--r--src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs b/src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs
index 5d83bd71..0cb5e6d9 100644
--- a/src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs
+++ b/src/Ryujinx.Graphics.Vic/Types/LumaKeyStruct.cs
@@ -2,10 +2,10 @@
namespace Ryujinx.Graphics.Vic.Types
{
- struct LumaKeyStruct
+ readonly struct LumaKeyStruct
{
- private long _word0;
- private long _word1;
+ private readonly long _word0;
+ private readonly long _word1;
public int LumaCoeff0 => (int)_word0.Extract(0, 20);
public int LumaCoeff1 => (int)_word0.Extract(20, 20);