aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary <me@thog.eu>2021-10-24 23:16:59 +0200
committerGitHub <noreply@github.com>2021-10-24 18:16:59 -0300
commit85d8d1d7cab5615e6911b7b570c8dd0b94a521ab (patch)
tree4e76864d009a70f0425b6e61cba2fed696ee75ba
parentdc837c00428b6f67079e362631fe7fc503ceeacb (diff)
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.
-rw-r--r--Ryujinx.Memory/IVirtualMemoryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Memory/IVirtualMemoryManager.cs b/Ryujinx.Memory/IVirtualMemoryManager.cs
index 3056bb2e..8bccfbad 100644
--- a/Ryujinx.Memory/IVirtualMemoryManager.cs
+++ b/Ryujinx.Memory/IVirtualMemoryManager.cs
@@ -68,7 +68,7 @@ namespace Ryujinx.Memory
using var writableRegion = GetWritableRegion(va + subOffset, copySize);
- writableRegion.Memory.Span.Fill(0);
+ writableRegion.Memory.Span.Fill(value);
}
}