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:
Unknown W. Brackets committed 2014-06-23 08:18:56 -07:00
1 parent e2664c7ec2
commit ec94498342
5 files changed
+17 -17

No files matched your search

+4 -4
View File
@@ -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);