DSPJIT: the shift value must still be loaded into the correct register

Fixes issue 6295
This commit is contained in:
Pierre 2013-05-10 20:07:58 +02:00
parent f348712d3a
commit 82cd91e944
1 changed files with 1 additions and 0 deletions

View File

@ -1563,6 +1563,7 @@ void DSPEmitter::lsrn(const UDSPInstruction opc)
FixupBranch noShift = J_CC(CC_Z);
//CL gets automatically masked with 0x3f on IA32/AMD64
//MOVZX(64, 16, RCX, R(RAX));
MOV(64, R(RCX), R(RAX));
//AND(16, R(RCX), Imm16(0x3f));
TEST(16, R(RAX), Imm16(0x40));
FixupBranch shiftLeft = J_CC(CC_Z);