소스 검색

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>
Caian Benedicto 5 년 전
부모
커밋
7a90abc035
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Ryujinx.Cpu/MemoryManager.cs

+ 1 - 1
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++)