mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-12 02:44:00 +00:00
Branch targets are relative to next instr.
This commit is contained in:
parent
7ba54b5dc0
commit
92482dfcb3
@ -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…
Reference in New Issue
Block a user