From aa44e70b3290ab0842f9c3757b2f02f7368e4dbb Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Tue, 15 Aug 2023 21:36:31 +0200 Subject: [PATCH] Rebase aftermath. --- src/Ryujinx.Cpu/AppleHv/HvMemoryManager.cs | 6 +++--- src/Ryujinx.Tests.Memory/MockVirtualMemoryManager.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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(); }