From d7afd7aae0bb0e26b33be2cc18d9c2fdff505313 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Wed, 21 Oct 2015 19:48:32 +0200 Subject: [PATCH] pcsx2:debug: swap 2 arguments It changes nothing but it is more consistent CID 146916 (#1 of 1): Arguments in wrong order i (SWAPPED_ARGUMENTS)swapped_arguments: The positions of arguments in the call to disBranch do not match the ordering of the parameters: rt is passed to rs rs is passed to rt --- pcsx2/DebugTools/DisR5900asm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/DebugTools/DisR5900asm.cpp b/pcsx2/DebugTools/DisR5900asm.cpp index b887d306e0..45ca425ae9 100644 --- a/pcsx2/DebugTools/DisR5900asm.cpp +++ b/pcsx2/DebugTools/DisR5900asm.cpp @@ -770,7 +770,7 @@ void BEQ( std::string& output ) else if (disSimplify && rs != 0 && rt == 0) disBranch(output, "beqz", rs); else - disBranch(output, "beq", rs, rt); + disBranch(output, "beq", rt, rs); } void BNE( std::string& output ) @@ -847,7 +847,7 @@ void BNEL( std::string& output ) else if (disSimplify && rs != 0 && rt == 0) disBranch(output, "bnezl", rs); else - disBranch(output, "bnel", rt, rs); + disBranch(output, "bnel", rs, rt); } void BLEZL( std::string& output ) { disBranch(output, "blezl", DECODE_RS); }