DSPLLE - small fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4497 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
10fb287311
commit
0d7d699710
|
@ -122,7 +122,6 @@ void asl(const UDSPInstruction& opc);
|
|||
void asr(const UDSPInstruction& opc);
|
||||
void lsrn(const UDSPInstruction& opc);
|
||||
void asrn(const UDSPInstruction& opc);
|
||||
void lsrnr(const UDSPInstruction& opc);
|
||||
void dar(const UDSPInstruction& opc);
|
||||
void iar(const UDSPInstruction& opc);
|
||||
void sbclr(const UDSPInstruction& opc);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue