aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs b/src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs
index d2404c58..5a6604f1 100644
--- a/src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs
+++ b/src/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferSlotArray.cs
@@ -3,11 +3,11 @@
class BufferSlotArray
{
// TODO: move to BufferQueue
- public const int NumBufferSlots = 0x40;
+ public const int NumBufferSlots = 0x40;
public const int MaxAcquiredBuffers = NumBufferSlots - 2;
- public const int InvalidBufferSlot = -1;
+ public const int InvalidBufferSlot = -1;
- private BufferSlot[] _raw = new BufferSlot[NumBufferSlots];
+ private readonly BufferSlot[] _raw = new BufferSlot[NumBufferSlots];
public BufferSlotArray()
{