diff options
author | Caian Benedicto <caianbene@gmail.com> | 2021-03-01 08:01:25 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 12:01:25 +0100 |
commit | 7a90abc03555f41ba7589bc8e1f714839f9e2fed (patch) | |
tree | 1f942bf73ab6120e5f6b971111b376878b47c105 /Ryujinx.Cpu | |
parent | 06a2b03cc91b38e3798d8cc1c57c186778c7e666 (diff) |
Fix regression in SignalMemoryTracking (#2073)
* Fix wrong VA being passed to VirtualMemoryEvent
* Remove unnecessary type in discard
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Diffstat (limited to 'Ryujinx.Cpu')
-rw-r--r-- | Ryujinx.Cpu/MemoryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Cpu/MemoryManager.cs b/Ryujinx.Cpu/MemoryManager.cs index d3390939..83c288ae 100644 --- a/Ryujinx.Cpu/MemoryManager.cs +++ b/Ryujinx.Cpu/MemoryManager.cs @@ -684,7 +684,7 @@ namespace Ryujinx.Cpu // Write tag includes read protection, since we don't have any read actions that aren't performed before write too. long tag = (write ? 3L : 1L) << PointerTagBit; - int pages = GetPagesCount(va, (uint)size, out va); + int pages = GetPagesCount(va, (uint)size, out _); ulong pageStart = va >> PageBits; for (int page = 0; page < pages; page++) |