mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 06:40:12 +00:00
DSPInterpreter: Improve CMPAR variable names
This commit is contained in:
parent
dc2eab1778
commit
4865b322d0
@ -134,12 +134,12 @@ void Interpreter::cmpar(const UDSPInstruction opc)
|
||||
const u8 rreg = (opc >> 12) & 0x1;
|
||||
const u8 sreg = (opc >> 11) & 0x1;
|
||||
|
||||
const s64 sr = GetLongAcc(sreg);
|
||||
s64 rr = GetAXHigh(rreg);
|
||||
rr <<= 16;
|
||||
const s64 res = dsp_convert_long_acc(sr - rr);
|
||||
const s64 acc = GetLongAcc(sreg);
|
||||
s64 ax = GetAXHigh(rreg);
|
||||
ax <<= 16;
|
||||
const s64 res = dsp_convert_long_acc(acc - ax);
|
||||
|
||||
UpdateSR64(res, isCarry2(sr, res), isOverflow(sr, -rr, res));
|
||||
UpdateSR64(res, isCarry2(acc, res), isOverflow(acc, -ax, res));
|
||||
ZeroWriteBackLog();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user