Do not set the CA bit in ADD().
Thanks Ashe`.
This commit is contained in:
@@ -2820,7 +2820,6 @@ private:
|
|||||||
const u64 RA = CPU.GPR[ra];
|
const u64 RA = CPU.GPR[ra];
|
||||||
const u64 RB = CPU.GPR[rb];
|
const u64 RB = CPU.GPR[rb];
|
||||||
CPU.GPR[rd] = RA + RB;
|
CPU.GPR[rd] = RA + RB;
|
||||||
CPU.XER.CA = CPU.IsCarry(RA, RB);
|
|
||||||
if(oe) UNK("addo");
|
if(oe) UNK("addo");
|
||||||
if(rc) CPU.UpdateCR0<s64>(CPU.GPR[rd]);
|
if(rc) CPU.UpdateCR0<s64>(CPU.GPR[rd]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user