mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Branch targets are relative to next instr.
This commit is contained in:
1 parent
7ba54b5dc0
commit
92482dfcb3
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user