mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
DSP LLE: Fix ASR as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3706 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6c7aadd5ab
commit
47ea4936b3
@ -640,7 +640,7 @@ void asl(const UDSPInstruction& opc)
|
||||
// value calculated by negating sign extended bits 0-6.
|
||||
void asr(const UDSPInstruction& opc)
|
||||
{
|
||||
u16 shift = -opc.ushift;
|
||||
u16 shift = (u16) -(((s8)(opc.ushift << 2)) >> 2);
|
||||
|
||||
// arithmetic shift
|
||||
s64 acc = dsp_get_long_acc(opc.areg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user