(just some obsessive code cleanup)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3142 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-05-03 11:57:53 +00:00
parent 0772db6af6
commit 59ed31f291
4 changed files with 66 additions and 114 deletions

View File

@ -200,7 +200,7 @@ void mulcmvz(const UDSPInstruction& opc)
// update prod
u8 sreg = (opc.hex >> 12) & 0x1;
u8 treg = (opc.hex >> 11) & 0x1;
dsp_multiply(dsp_get_acc_m(sreg), (s64)dsp_get_ax_h(treg));
dsp_multiply(dsp_get_acc_m(sreg), dsp_get_ax_h(treg));
// update acc
u8 rreg = (opc.hex >> 8) & 0x1;
@ -223,7 +223,7 @@ void mulcmv(const UDSPInstruction& opc)
// update prod
u8 sreg = (opc.hex >> 12) & 0x1;
u8 treg = (opc.hex >> 11) & 0x1;
dsp_multiply(dsp_get_acc_m(sreg), (s64)dsp_get_ax_h(treg));
dsp_multiply(dsp_get_acc_m(sreg), dsp_get_ax_h(treg));
// update acc
u8 rreg = (opc.hex >> 8) & 0x1;
@ -244,7 +244,7 @@ void mulcac(const UDSPInstruction& opc)
// update prod
u8 sreg = (opc.hex >> 12) & 0x1;
u8 treg = (opc.hex >> 11) & 0x1;
dsp_multiply(dsp_get_acc_m(sreg), (s64)dsp_get_ax_h(treg));
dsp_multiply(dsp_get_acc_m(sreg), dsp_get_ax_h(treg));
// update acc
u8 rreg = (opc.hex >> 8) & 0x1;