diff --git a/Core/MIPS/MIPSAnalyst.cpp b/Core/MIPS/MIPSAnalyst.cpp index 6af55b0af3..9b215a48f3 100644 --- a/Core/MIPS/MIPSAnalyst.cpp +++ b/Core/MIPS/MIPSAnalyst.cpp @@ -262,9 +262,10 @@ namespace MIPSAnalyst { } } if (op == MIPS_MAKE_JR_RA()) { - if (furthestBranch >= addr) { + // If a branch goes to the jr ra, it's still ending here. + if (furthestBranch > addr) { looking = true; - addr+=4; + addr += 4; } else { end = true; }