Spend a bit less time in Read_Instruction on load.

This commit is contained in:
Unknown W. Brackets committed 2014-03-02 10:20:40 -08:00
1 parent e3506ead69
commit eca06c60c7
5 files changed
+27 -5

No files matched your search

+5
View File
@@ -67,6 +67,11 @@ namespace MIPSCodeUtils
u32 GetBranchTargetNoRA(u32 addr)
{
MIPSOpcode op = Memory::Read_Instruction(addr);
return GetBranchTargetNoRA(addr, op);
}
u32 GetBranchTargetNoRA(u32 addr, MIPSOpcode op)
{
if (op != 0)
{
MIPSInfo info = MIPSGetInfo(op);