mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
dsplle - small mulx.. regression fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6105 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7866fade02
commit
9080e09a45
@ -33,7 +33,7 @@ inline s64 dsp_get_multiply_prod(u16 a, u16 b, u8 sign)
|
||||
s64 prod;
|
||||
|
||||
if ((sign == 1) && (g_dsp.r[DSP_REG_SR] & SR_MUL_UNSIGNED)) //unsigned
|
||||
prod = a * b;
|
||||
prod = (u32)(a * b);
|
||||
else if ((sign == 2) && (g_dsp.r[DSP_REG_SR] & SR_MUL_UNSIGNED)) //mixed
|
||||
prod = a * (s16)b;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user