Skip calling SignalMappingChanged if Guest is true

This commit is contained in:
Gabriel A 2024-03-14 21:04:27 -03:00
commit 3b91233e4a

View file

@ -70,11 +70,14 @@ namespace Ryujinx.Memory.Tracking
{
_lastPermission = MemoryPermission.Invalid;
if (!Guest)
{
foreach (RegionHandle handle in Handles)
{
handle.SignalMappingChanged(mapped);
}
}
}
/// <summary>
/// Gets the strictest permission that the child handles demand. Assumes that the tracking lock has been obtained.