From 58d7a1fe9747f673b0c0399581730616681f015c Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 21 Feb 2023 06:40:23 -0300 Subject: [PATCH] Mark texture as modified and sync on I2M fast path (#4449) --- .../Engine/InlineToMemory/InlineToMemoryClass.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs b/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs index f6effe2e..e1d7e940 100644 --- a/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs +++ b/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs @@ -197,7 +197,9 @@ namespace Ryujinx.Graphics.Gpu.Engine.InlineToMemory if (target != null) { + target.SynchronizeMemory(); target.SetData(data, 0, 0, new GAL.Rectangle(_dstX, _dstY, _lineLengthIn / target.Info.FormatInfo.BytesPerPixel, _lineCount)); + target.SignalModified(); return; }