aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-07-28 13:46:12 -0300
committerGitHub <noreply@github.com>2022-07-28 13:46:12 -0300
commit37b6e081da6acb6d0ecbe34385d4e09b1ffca5b7 (patch)
treee13009294f40cb1522818454f556ccb1a80f845b /Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs
parent3c3bcd82fe6dfa8bdc2c9a9f33724ebfacd7dd40 (diff)
Fix DMA linear texture copy fast path (#3496)1.1.195
* Fix DMA linear texture copy fast path * Formatting
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs b/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs
index b1f766b8..133b3075 100644
--- a/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs
+++ b/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs
@@ -216,13 +216,14 @@ namespace Ryujinx.Graphics.Gpu.Engine.Dma
{
var target = memoryManager.Physical.TextureCache.FindTexture(
memoryManager,
- dst,
dstGpuVa,
dstBpp,
dstStride,
+ dst.Height,
xCount,
yCount,
- dstLinear);
+ dstLinear,
+ dst.MemoryLayout);
if (target != null)
{