aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs b/Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs
index a3295616..44cd8213 100644
--- a/Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs
+++ b/Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs
@@ -12,7 +12,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
#pragma warning disable CS0169
private uint _e0;
#pragma warning restore CS0169
- public ref uint this[int index] => ref ToSpan()[index];
- public Span<uint> ToSpan() => MemoryMarshal.CreateSpan(ref _e0, 256);
+ public ref uint this[int index] => ref AsSpan()[index];
+ public Span<uint> AsSpan() => MemoryMarshal.CreateSpan(ref _e0, 256);
}
}