0
0
Fork 0

misc: Fix IVirtualMemoryManager.Fill ignoring value (#2775)

This fix IVirtualMemoryManager.Fill to actually use the provided fill
value instead of 0.

This have no implication at the moment as everything that use it pass 0
but it is needed for some upcoming kernel fixes.
This commit is contained in:
Mary 2021-10-24 23:16:59 +02:00 committed by GitHub
parent dc837c0042
commit 85d8d1d7ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ namespace Ryujinx.Memory
using var writableRegion = GetWritableRegion(va + subOffset, copySize); using var writableRegion = GetWritableRegion(va + subOffset, copySize);
writableRegion.Memory.Span.Fill(0); writableRegion.Memory.Span.Fill(value);
} }
} }