From a5ff0024fb33964c802e1712e5b11a52390603e7 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 11 Aug 2022 18:07:37 -0300 Subject: Rename ToSpan to AsSpan (#3556) --- Ryujinx.Common/Memory/PartialUnmaps/PartialUnmapState.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Ryujinx.Common/Memory/PartialUnmaps/PartialUnmapState.cs') diff --git a/Ryujinx.Common/Memory/PartialUnmaps/PartialUnmapState.cs b/Ryujinx.Common/Memory/PartialUnmaps/PartialUnmapState.cs index 3b42e140..7a14e616 100644 --- a/Ryujinx.Common/Memory/PartialUnmaps/PartialUnmapState.cs +++ b/Ryujinx.Common/Memory/PartialUnmaps/PartialUnmapState.cs @@ -83,7 +83,7 @@ namespace Ryujinx.Common.Memory.PartialUnmaps /// memory might be accessed but is unmapped. Users of the API must compensate for that by catching the /// access violation and retrying if it happened between the unmap and remap operation. /// This method can be used to decide if retrying in such cases is necessary or not. - /// + /// /// This version of the function is not used, but serves as a reference for the native /// implementation in ARMeilleure. /// @@ -128,12 +128,12 @@ namespace Ryujinx.Common.Memory.PartialUnmaps const uint ExitCodeStillActive = 259; const int ThreadQueryInformation = 0x40; - Span ids = LocalCounts.ThreadIds.ToSpan(); + Span ids = LocalCounts.ThreadIds.AsSpan(); for (int i = 0; i < ids.Length; i++) { int id = ids[i]; - + if (id != 0) { IntPtr handle = OpenThread(ThreadQueryInformation, false, (uint)id); -- cgit v1.2.3