[Project64] Change DWORD to uint32_t in CRecompilerOps::SPECIAL_DADDU
This commit is contained in:
parent
3e888b9b74
commit
2d435936ec
|
@ -4875,16 +4875,16 @@ void CRecompilerOps::SPECIAL_DADDU()
|
||||||
Map_GPR_64bit(m_Opcode.rd, source1);
|
Map_GPR_64bit(m_Opcode.rd, source1);
|
||||||
if (IsConst(source2))
|
if (IsConst(source2))
|
||||||
{
|
{
|
||||||
DWORD LoReg = GetMipsRegLo(source2);
|
uint32_t LoReg = GetMipsRegLo(source2);
|
||||||
AddConstToX86Reg(GetMipsRegMapLo(m_Opcode.rd), LoReg);
|
AddConstToX86Reg(GetMipsRegMapLo(m_Opcode.rd), LoReg);
|
||||||
if(LoReg != 0)
|
if (LoReg != 0)
|
||||||
{
|
{
|
||||||
AdcConstToX86Reg(GetMipsRegMapHi(m_Opcode.rd), GetMipsRegHi(source2));
|
AdcConstToX86Reg(GetMipsRegMapHi(m_Opcode.rd), GetMipsRegHi(source2));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
AddConstToX86Reg(GetMipsRegMapHi(m_Opcode.rd), GetMipsRegHi(source2));
|
AddConstToX86Reg(GetMipsRegMapHi(m_Opcode.rd), GetMipsRegHi(source2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (IsMapped(source2))
|
else if (IsMapped(source2))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue