From 313f948a97afa6bf8345eba4d8da1c3ef054c2a5 Mon Sep 17 00:00:00 2001 From: jhorv <38920027+jhorv@users.noreply.github.com> Date: Fri, 19 Apr 2024 19:32:51 -0400 Subject: [PATCH] remove comment about copySize --- src/Ryujinx.HLE/HOS/Kernel/Memory/KPageTableBase.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Ryujinx.HLE/HOS/Kernel/Memory/KPageTableBase.cs b/src/Ryujinx.HLE/HOS/Kernel/Memory/KPageTableBase.cs index bba0a20f18..58bbc0dbfb 100644 --- a/src/Ryujinx.HLE/HOS/Kernel/Memory/KPageTableBase.cs +++ b/src/Ryujinx.HLE/HOS/Kernel/Memory/KPageTableBase.cs @@ -1569,10 +1569,6 @@ namespace Ryujinx.HLE.HOS.Kernel.Memory while (size > 0) { - // Copy chunk size. Previous impl created copies to write using GetSpan(), and moderate sizes - // were recommended to avoid allocating very large temporary buffers. Since moving to use - // ReadOnlySequence and reading directly, we set the copySize to the max size of a - // segment: Int32.MaxValue. ulong copySize = int.MaxValue; if (copySize > size)