mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
DSPInterpreter: Improve CMPAR variable names
This commit is contained in:
parent
dc2eab1778
commit
4865b322d0
1 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue