From 8a186e2e652700194ea442976ba29dbc9fa7388b Mon Sep 17 00:00:00 2001 From: Thog Date: Thu, 6 Dec 2018 23:22:04 +0100 Subject: [PATCH] Fix TEXS ARRAY_2D index --- Ryujinx.Graphics/Gal/Shader/ShaderDecodeMem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics/Gal/Shader/ShaderDecodeMem.cs b/Ryujinx.Graphics/Gal/Shader/ShaderDecodeMem.cs index f037afe4da..e0a4132192 100644 --- a/Ryujinx.Graphics/Gal/Shader/ShaderDecodeMem.cs +++ b/Ryujinx.Graphics/Gal/Shader/ShaderDecodeMem.cs @@ -554,7 +554,7 @@ namespace Ryujinx.Graphics.Gal.Shader if (IsArray) { CoordStartIndex++; - Coords[Coords.Length - 1] = OperB; + Coords[Coords.Length - 1] = OpCode.Gpr8(); } switch (Coords.Length - CoordStartIndex)