DSP jit shift fix

Please tell me if 'mv still crashes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5392 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2010-04-20 10:52:28 +00:00
parent badf7c2771
commit 026450006a
1 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ void DSPEmitter::ext_dmem_write(u32 dest, u32 src)
// u16 saddr = addr >> 12;
MOVZX(32, 16, ESI, R(EAX));
SHR(16, R(ESI), Imm16(12));
SHR(16, R(ESI), Imm8(12));
// if (saddr == 0)
CMP(16, R(ESI), Imm16(0));
@ -288,7 +288,7 @@ void DSPEmitter::ext_dmem_read(u16 addr)
// u16 saddr = addr >> 12;
MOVZX(32, 16, ESI, R(EAX));
SHR(16, R(ESI), Imm16(12));
SHR(16, R(ESI), Imm8(12));
// if (saddr == 0)
CMP(16, R(ESI), Imm16(0));