mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 15:23:35 +01:00
When scanning or relocating, check replacements.
Just to make sure we don't wrongly detect the length or unresolve a var wrong etc.
This commit is contained in:
1 parent
e2664c7ec2
commit
ec94498342
5 files changed
+17
-17
No files matched your search
@@ -32,7 +32,7 @@ namespace MIPSCodeUtils
|
||||
|
||||
u32 GetJumpTarget(u32 addr)
|
||||
{
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr);
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr, true);
|
||||
if (op != 0)
|
||||
{
|
||||
MIPSInfo info = MIPSGetInfo(op);
|
||||
@@ -50,7 +50,7 @@ namespace MIPSCodeUtils
|
||||
|
||||
u32 GetBranchTarget(u32 addr)
|
||||
{
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr);
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr, true);
|
||||
if (op != 0)
|
||||
{
|
||||
MIPSInfo info = MIPSGetInfo(op);
|
||||
@@ -67,7 +67,7 @@ namespace MIPSCodeUtils
|
||||
|
||||
u32 GetBranchTargetNoRA(u32 addr)
|
||||
{
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr);
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr, true);
|
||||
return GetBranchTargetNoRA(addr, op);
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace MIPSCodeUtils
|
||||
|
||||
u32 GetSureBranchTarget(u32 addr)
|
||||
{
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr);
|
||||
MIPSOpcode op = Memory::Read_Instruction(addr, true);
|
||||
if (op != 0)
|
||||
{
|
||||
MIPSInfo info = MIPSGetInfo(op);
|
||||
|
||||
Reference in new issue
Block a user