From ac91bd8ce1075ea9f50d39125e9e684aa993a73d Mon Sep 17 00:00:00 2001 From: zilmar Date: Fri, 25 Nov 2016 17:35:56 +1100 Subject: [PATCH] [Android] Add another case in CArmRecompilerOps::BLTZ_Compare --- .../N64System/Recompiler/Arm/ArmRecompilerOps.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/Project64-core/N64System/Recompiler/Arm/ArmRecompilerOps.cpp b/Source/Project64-core/N64System/Recompiler/Arm/ArmRecompilerOps.cpp index d9741be4e..8fca10b33 100644 --- a/Source/Project64-core/N64System/Recompiler/Arm/ArmRecompilerOps.cpp +++ b/Source/Project64-core/N64System/Recompiler/Arm/ArmRecompilerOps.cpp @@ -1567,13 +1567,9 @@ void CArmRecompilerOps::BLTZ_Compare() } else if (IsMapped(m_Opcode.rs)) { - if (Is64Bit(m_Opcode.rs)) + if (Is64Bit(m_Opcode.rs) || IsSigned(m_Opcode.rs)) { - g_Notify->BreakPoint(__FILE__, __LINE__); - } - else if (IsSigned(m_Opcode.rs)) - { - CompareArmRegToConst(GetMipsRegMapLo(m_Opcode.rs), (uint32_t)0); + CompareArmRegToConst(Is64Bit(m_Opcode.rs) ? GetMipsRegMapHi(m_Opcode.rs) : GetMipsRegMapLo(m_Opcode.rs), (uint32_t)0); if (m_Section->m_Jump.FallThrough) { BranchLabel20(ArmBranch_GreaterThanOrEqual, m_Section->m_Cont.BranchLabel.c_str());