mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 22:20:46 -07:00
Rename ToSpan to AsSpan (#3556)
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user