diff options
| author | Marko Pusljar <LM1234@gmail.com> | 2010-08-17 12:42:14 +0000 |
|---|---|---|
| committer | Marko Pusljar <LM1234@gmail.com> | 2010-08-17 12:42:14 +0000 |
| commit | 9080e09a45eeaa58c788659416b97523562ba59a (patch) | |
| tree | a346c92eaa81f8edb4500e11058edc63ef46dac4 /Source/Core | |
| parent | 7866fade02b507f76971beb74f63707ac5ba18c6 (diff) | |
dsplle - small mulx.. regression fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6105 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DSPCore/Src/DspIntMultiplier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DSPCore/Src/DspIntMultiplier.cpp b/Source/Core/DSPCore/Src/DspIntMultiplier.cpp index a4e4594ea4..b6ed348182 100644 --- a/Source/Core/DSPCore/Src/DspIntMultiplier.cpp +++ b/Source/Core/DSPCore/Src/DspIntMultiplier.cpp @@ -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 |
