diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-08-11 18:07:37 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 18:07:37 -0300 |
commit | a5ff0024fb33964c802e1712e5b11a52390603e7 (patch) | |
tree | fdc0b7781541215cd728b8e0288b729f73dbad88 /Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs | |
parent | f9661a54d21c3020783d14fd9935bb7b741a6915 (diff) |
Rename ToSpan to AsSpan (#3556)1.1.211
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/MmeShadowScratch.cs | 4 |
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); } } |