diff options
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) { |
