mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
DSPLLE - addaxl,mulc,'ln fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5138 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -58,15 +58,15 @@ void addaxl(const UDSPInstruction& opc)
|
||||
u8 sreg = (opc.hex >> 9) & 0x1;
|
||||
u8 dreg = (opc.hex >> 8) & 0x1;
|
||||
|
||||
s64 acc = dsp_get_long_acc(dreg);
|
||||
s64 acx = dsp_get_ax_l(sreg);
|
||||
u64 acc = (u64)dsp_get_long_acc(dreg);
|
||||
u16 acx = (u16)dsp_get_ax_l(sreg);
|
||||
|
||||
acc += acx;
|
||||
|
||||
zeroWriteBackLog();
|
||||
|
||||
dsp_set_long_acc(dreg, acc);
|
||||
Update_SR_Register64(acc);
|
||||
dsp_set_long_acc(dreg, (s64)acc);
|
||||
Update_SR_Register64((s64)acc);
|
||||
}
|
||||
|
||||
// TSTAXH $axR.h
|
||||
|
Reference in New Issue
Block a user