diff options
| author | Marko Pusljar <LM1234@gmail.com> | 2009-11-04 14:10:56 +0000 |
|---|---|---|
| committer | Marko Pusljar <LM1234@gmail.com> | 2009-11-04 14:10:56 +0000 |
| commit | 0d7d6997101f60ffdf01a49477b66ab1d7b6ddad (patch) | |
| tree | 87dc50a7fdb77dd3fb77114b69193d075e83f3d1 /Source/Core/DSPCore/Src/DspIntArithmetic.cpp | |
| parent | 10fb287311b6066d0ead410288aa6484a5e4ffe9 (diff) | |
DSPLLE - small fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4497 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DspIntArithmetic.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DspIntArithmetic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DSPCore/Src/DspIntArithmetic.cpp b/Source/Core/DSPCore/Src/DspIntArithmetic.cpp index c22ddae22f..c7b630cf5c 100644 --- a/Source/Core/DSPCore/Src/DspIntArithmetic.cpp +++ b/Source/Core/DSPCore/Src/DspIntArithmetic.cpp @@ -785,7 +785,7 @@ void lsrnrx(const UDSPInstruction& opc) u8 sreg = (opc.hex >> 9) & 0x1; //axhS u64 acc = dsp_get_long_acc(dreg); s16 shift = g_dsp.r[DSP_REG_AXH0 + sreg]; - acc & 0x000000FFFFFFFFFFULL; + acc &= 0x000000FFFFFFFFFFULL; if (shift > 0) { acc <<= shift; } else if (shift < 0) { |
