mirror of https://github.com/PCSX2/pcsx2.git
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
This commit is contained in:
parent
aff1467ea3
commit
d7afd7aae0
|
@ -770,7 +770,7 @@ void BEQ( std::string& output )
|
||||||
else if (disSimplify && rs != 0 && rt == 0)
|
else if (disSimplify && rs != 0 && rt == 0)
|
||||||
disBranch(output, "beqz", rs);
|
disBranch(output, "beqz", rs);
|
||||||
else
|
else
|
||||||
disBranch(output, "beq", rs, rt);
|
disBranch(output, "beq", rt, rs);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BNE( std::string& output )
|
void BNE( std::string& output )
|
||||||
|
@ -847,7 +847,7 @@ void BNEL( std::string& output )
|
||||||
else if (disSimplify && rs != 0 && rt == 0)
|
else if (disSimplify && rs != 0 && rt == 0)
|
||||||
disBranch(output, "bnezl", rs);
|
disBranch(output, "bnezl", rs);
|
||||||
else
|
else
|
||||||
disBranch(output, "bnel", rt, rs);
|
disBranch(output, "bnel", rs, rt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BLEZL( std::string& output ) { disBranch(output, "blezl", DECODE_RS); }
|
void BLEZL( std::string& output ) { disBranch(output, "blezl", DECODE_RS); }
|
||||||
|
|
Loading…
Reference in New Issue