mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Branch targets are relative to next instr.
This commit is contained in:
parent
7ba54b5dc0
commit
92482dfcb3
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ namespace MIPSCodeUtils
|
|||
}
|
||||
|
||||
if (sure && takeBranch)
|
||||
return addr + ((signed short)(op&0xFFFF)<<2);
|
||||
return addr + 4 + ((signed short)(op&0xFFFF)<<2);
|
||||
else if (sure && !takeBranch)
|
||||
return addr + 8;
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue