From 4e80858beda177c5d58d44ed92bc2d3b3fffc5b5 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 11 Dec 2017 12:03:31 +0300 Subject: [PATCH] rsx/fp: Hotfix for TEXBEM/TXPBEM --- rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp index aaf73654d7..e7637420b3 100644 --- a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp @@ -598,7 +598,7 @@ bool FragmentProgramDecompiler::handle_tex_srb(u32 opcode) case RSX_FP_OPCODE_TEXBEM: //Untested, should be x2d followed by TEX AddX2d(); - AddCode(Format("x2d = $0.xyxy + $1.xxxx * $2.xzxz + $1.yyyy * $2.ywyw", true)); + AddCode(Format("x2d = $0.xyxy + $1.xxxx * $2.xzxz + $1.yyyy * $2.ywyw;", true)); case RSX_FP_OPCODE_TEX: switch (m_prog.get_texture_dimension(dst.tex_num)) { @@ -629,7 +629,7 @@ bool FragmentProgramDecompiler::handle_tex_srb(u32 opcode) case RSX_FP_OPCODE_TXPBEM: //Untested, should be x2d followed by TXP AddX2d(); - AddCode(Format("x2d = $0.xyxy + $1.xxxx * $2.xzxz + $1.yyyy * $2.ywyw", true)); + AddCode(Format("x2d = $0.xyxy + $1.xxxx * $2.xzxz + $1.yyyy * $2.ywyw;", true)); case RSX_FP_OPCODE_TXP: switch (m_prog.get_texture_dimension(dst.tex_num)) {