From 7a90abc03555f41ba7589bc8e1f714839f9e2fed Mon Sep 17 00:00:00 2001 From: Caian Benedicto Date: Mon, 1 Mar 2021 08:01:25 -0300 Subject: [PATCH] Fix regression in SignalMemoryTracking (#2073) * Fix wrong VA being passed to VirtualMemoryEvent * Remove unnecessary type in discard Co-authored-by: gdkchan Co-authored-by: gdkchan --- Ryujinx.Cpu/MemoryManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Cpu/MemoryManager.cs b/Ryujinx.Cpu/MemoryManager.cs index d33909394..83c288ae9 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++)