[Project64] fix CArmRecompilerOps::ADDI

This commit is contained in:
zilmar 2016-11-22 22:40:55 +11:00
parent 13fa7446df
commit 13a1f9fc25
1 changed files with 1 additions and 0 deletions

View File

@ -1860,6 +1860,7 @@ void CArmRecompilerOps::ADDI()
} }
else if (IsMapped(m_Opcode.rs)) else if (IsMapped(m_Opcode.rs))
{ {
ProtectGPR(m_Opcode.rs);
Map_GPR_32bit(m_Opcode.rt, true, -1); Map_GPR_32bit(m_Opcode.rt, true, -1);
AddConstToArmReg(GetMipsRegMapLo(m_Opcode.rt), GetMipsRegMapLo(m_Opcode.rs), (int16_t)m_Opcode.immediate); AddConstToArmReg(GetMipsRegMapLo(m_Opcode.rt), GetMipsRegMapLo(m_Opcode.rs), (int16_t)m_Opcode.immediate);
} }