Clarify GetSureBranchTarget() for fpu branches.

They also have CONDTYPE_ flags.  Looks like this was just getting lucky
that rs can't equal rt, but the code looks confusing when you're looking
at it from an fpu/vfpu perspective.
This commit is contained in:
Unknown W. Brackets 2014-08-18 07:45:41 -07:00
parent a2ffbeec00
commit 9d3cf346c3

View File

@ -93,7 +93,7 @@ namespace MIPSCodeUtils
if (op != 0)
{
MIPSInfo info = MIPSGetInfo(op);
if (info & IS_CONDBRANCH)
if ((info & IS_CONDBRANCH) && !(info & (IN_FPUFLAG | IS_VFPU)))
{
bool sure;
bool takeBranch;