Fix DMA linear texture copy fast path (#3496)

* Fix DMA linear texture copy fast path

* Formatting
This commit is contained in:
gdkchan
2022-07-28 13:46:12 -03:00
committed by GitHub
parent 3c3bcd82fe
commit 37b6e081da
2 changed files with 12 additions and 9 deletions

View File

@ -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)
{