aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Memory/ArrayPtr.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Common/Memory/ArrayPtr.cs')
-rw-r--r--Ryujinx.Common/Memory/ArrayPtr.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Common/Memory/ArrayPtr.cs b/Ryujinx.Common/Memory/ArrayPtr.cs
index 7a145de2..9e95f75e 100644
--- a/Ryujinx.Common/Memory/ArrayPtr.cs
+++ b/Ryujinx.Common/Memory/ArrayPtr.cs
@@ -87,7 +87,7 @@ namespace Ryujinx.Common.Memory
/// Gets a span from the array.
/// </summary>
/// <returns>Span of the array</returns>
- public Span<T> ToSpan() => Length == 0 ? Span<T>.Empty : MemoryMarshal.CreateSpan(ref this[0], Length);
+ public Span<T> AsSpan() => Length == 0 ? Span<T>.Empty : MemoryMarshal.CreateSpan(ref this[0], Length);
/// <summary>
/// Gets the array base pointer.