Fix Linear -> BlockLinear

This commit is contained in:
riperiperi 2020-05-24 19:43:42 +01:00
parent 00d0525596
commit 764e8fdde2

View File

@ -297,7 +297,7 @@ namespace Ryujinx.Graphics.Texture
*(Vector128<byte>*)offset4 = value4;
}
for (int x = 0; x < strideTrunc; x += 16, inPtr += 16)
for (int x = strideTrunc64; x < strideTrunc; x += 16, inPtr += 16)
{
byte* offset = outBaseOffset + layoutConverter.GetOffsetWithLineOffset16(x);