aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs b/Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs
index f6a99440..46096500 100644
--- a/Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs
+++ b/Ryujinx.Graphics.Gpu/Engine/Inline2Memory.cs
@@ -42,7 +42,8 @@ namespace Ryujinx.Graphics.Gpu.Engine
ulong dstBaseAddress = _context.MemoryManager.Translate(_params.DstAddress.Pack());
- _context.Methods.TextureManager.Flush(dstBaseAddress, (ulong)_size);
+ // Trigger read tracking, to flush any managed resources in the destination region.
+ _context.PhysicalMemory.GetSpan(dstBaseAddress, _size, true);
_finished = false;
}