mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix hash detection of branches to jr ra.
This makes it more correctly identify functions.
This commit is contained in:
parent
eac8b1a84d
commit
b2971314b8
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue