mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 06:41:44 +00:00
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:
parent
dc837c0042
commit
85d8d1d7ca
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ namespace Ryujinx.Memory
|
|||
|
||||
using var writableRegion = GetWritableRegion(va + subOffset, copySize);
|
||||
|
||||
writableRegion.Memory.Span.Fill(0);
|
||||
writableRegion.Memory.Span.Fill(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue