aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs')
-rw-r--r--src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs b/src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs
index ae582a92..da9888f7 100644
--- a/src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs
+++ b/src/Ryujinx.Graphics.Vic/Types/ClearRectStruct.cs
@@ -2,11 +2,11 @@
namespace Ryujinx.Graphics.Vic.Types
{
- struct ClearRectStruct
+ readonly struct ClearRectStruct
{
-#pragma warning disable CS0649
- private long _word0;
- private long _word1;
+#pragma warning disable CS0649 // Field is never assigned to
+ private readonly long _word0;
+ private readonly long _word1;
#pragma warning restore CS0649
public int ClearRect0Left => (int)_word0.Extract(0, 14);