diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-01-18 23:31:15 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 13:31:15 +1100 |
| commit | 734747ae5806f85a9378d446d246b7eb27012bb6 (patch) | |
| tree | c80d08142156d538ace5a37f5650a3d892528494 /Ryujinx.Memory/IVirtualMemoryManager.cs | |
| parent | 1364f3616111b8517ac48ee506d556c364c8a6a5 (diff) | |
Reduce temporary copy/fill buffer size (#1926)
Diffstat (limited to 'Ryujinx.Memory/IVirtualMemoryManager.cs')
| -rw-r--r-- | Ryujinx.Memory/IVirtualMemoryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Memory/IVirtualMemoryManager.cs b/Ryujinx.Memory/IVirtualMemoryManager.cs index cd271a5f..f52c4b22 100644 --- a/Ryujinx.Memory/IVirtualMemoryManager.cs +++ b/Ryujinx.Memory/IVirtualMemoryManager.cs @@ -15,7 +15,7 @@ namespace Ryujinx.Memory void Fill(ulong va, ulong size, byte value) { - const int MaxChunkSize = 1 << 30; + const int MaxChunkSize = 1 << 24; for (ulong subOffset = 0; subOffset < size; subOffset += MaxChunkSize) { |
