diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-09-11 17:54:18 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-11 22:54:18 +0200 |
| commit | ac4ec1a0151fd958d7ec58146169763b446836fe (patch) | |
| tree | 35ee4908dba22e9552bd70b4b251a1f00ef9b1bc /Ryujinx.Graphics.Gpu/Image | |
| parent | 016fc64b3df8e039e62f3022139244061a00ec30 (diff) | |
Account for negative strides on DMA copy (#2623)
* Account for negative strides on DMA copy
* Should account for non-zero Y
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<byte>.Empty, true, texture)); } - else + else { _physicalMemory.WriteUntracked(Range, GetTextureDataFromGpu(Span<byte>.Empty, false, texture)); } |
