From 7dd349ae8e274e9f382722ffc26ea10d3b976c10 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 11 Dec 2017 17:44:45 +0300 Subject: [PATCH] Update FragmentProgramDecompiler.cpp --- rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp index e7637420b3..2c73716466 100644 --- a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.cpp @@ -273,7 +273,7 @@ std::string FragmentProgramDecompiler::Format(const std::string& code, bool igno std::pair repl[] = { { "$0", "x2d" } }; std::string result = fmt::replace_all(code, repl); - return fmt::replace_all(code, repl_list); + return fmt::replace_all(result, repl_list); } } }