From ac4ec1a0151fd958d7ec58146169763b446836fe Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 11 Sep 2021 17:54:18 -0300 Subject: Account for negative strides on DMA copy (#2623) * Account for negative strides on DMA copy * Should account for non-zero Y --- Ryujinx.Graphics.Gpu/Image/Texture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Gpu/Image') diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index 3a66960d..7cc8faf6 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -892,7 +892,7 @@ namespace Ryujinx.Graphics.Gpu.Image { _physicalMemory.Write(Range, GetTextureDataFromGpu(Span.Empty, true, texture)); } - else + else { _physicalMemory.WriteUntracked(Range, GetTextureDataFromGpu(Span.Empty, false, texture)); } -- cgit v1.2.3