Account for negative strides on DMA copy (#2623)

* Account for negative strides on DMA copy

* Should account for non-zero Y
This commit is contained in:
gdkchan
2021-09-11 17:54:18 -03:00
committed by GitHub
parent 016fc64b3d
commit ac4ec1a015
4 changed files with 27 additions and 11 deletions

View File

@ -892,7 +892,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
_physicalMemory.Write(Range, GetTextureDataFromGpu(Span<byte>.Empty, true, texture));
}
else
else
{
_physicalMemory.WriteUntracked(Range, GetTextureDataFromGpu(Span<byte>.Empty, false, texture));
}