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:
Marko Pusljar 2009-11-04 14:10:56 +00:00
parent 10fb287311
commit 0d7d699710
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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) {