diff options
Diffstat (limited to 'Ryujinx.Cpu/MemoryManager.cs')
-rw-r--r-- | Ryujinx.Cpu/MemoryManager.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Ryujinx.Cpu/MemoryManager.cs b/Ryujinx.Cpu/MemoryManager.cs index 2c11bab8..85ab763e 100644 --- a/Ryujinx.Cpu/MemoryManager.cs +++ b/Ryujinx.Cpu/MemoryManager.cs @@ -567,10 +567,16 @@ namespace Ryujinx.Cpu } /// <inheritdoc/> - public void SignalMemoryTracking(ulong va, ulong size, bool write) + public void SignalMemoryTracking(ulong va, ulong size, bool write, bool precise = false) { AssertValidAddressAndSize(va, size); + if (precise) + { + Tracking.VirtualMemoryEvent(va, size, write, precise: true); + return; + } + // We emulate guard pages for software memory access. This makes for an easy transition to // tracking using host guard pages in future, but also supporting platforms where this is not possible. |