Reduce temporary copy/fill buffer size (#1926)

This commit is contained in:
gdkchan 2021-01-18 23:31:15 -03:00 committed by GitHub
parent a0ecb775e3
commit fae90fdeea
2 changed files with 3 additions and 3 deletions

View file

@ -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)
{