diff --git a/src/Ryujinx.Cpu/AppleHv/HvMemoryManager.cs b/src/Ryujinx.Cpu/AppleHv/HvMemoryManager.cs index 01c685d4b..022897ae2 100644 --- a/src/Ryujinx.Cpu/AppleHv/HvMemoryManager.cs +++ b/src/Ryujinx.Cpu/AppleHv/HvMemoryManager.cs @@ -58,7 +58,7 @@ namespace Ryujinx.Cpu.AppleHv public MemoryTracking Tracking { get; } - public event Action UnmapEvent; + public event Action UnmapEvent; /// /// Creates a new instance of the Hypervisor memory manager. @@ -172,11 +172,11 @@ namespace Ryujinx.Cpu.AppleHv } /// - public void Unmap(ulong va, ulong size) + public void Unmap(ulong va, ulong size, bool clearRejitQueueOnly = false) { AssertValidAddressAndSize(va, size); - UnmapEvent?.Invoke(va, size); + UnmapEvent?.Invoke(va, size, clearRejitQueueOnly); Tracking.Unmap(va, size); RemoveMapping(va, size); diff --git a/src/Ryujinx.Tests.Memory/MockVirtualMemoryManager.cs b/src/Ryujinx.Tests.Memory/MockVirtualMemoryManager.cs index 59dc1a525..c28754bab 100644 --- a/src/Ryujinx.Tests.Memory/MockVirtualMemoryManager.cs +++ b/src/Ryujinx.Tests.Memory/MockVirtualMemoryManager.cs @@ -27,7 +27,7 @@ namespace Ryujinx.Tests.Memory throw new NotImplementedException(); } - public void Unmap(ulong va, ulong size) + public void Unmap(ulong va, ulong size, bool clearRejitQueueOnly = false) { throw new NotImplementedException(); }