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:
parent
badf7c2771
commit
026450006a
|
@ -257,7 +257,7 @@ void DSPEmitter::ext_dmem_write(u32 dest, u32 src)
|
||||||
|
|
||||||
// u16 saddr = addr >> 12;
|
// u16 saddr = addr >> 12;
|
||||||
MOVZX(32, 16, ESI, R(EAX));
|
MOVZX(32, 16, ESI, R(EAX));
|
||||||
SHR(16, R(ESI), Imm16(12));
|
SHR(16, R(ESI), Imm8(12));
|
||||||
|
|
||||||
// if (saddr == 0)
|
// if (saddr == 0)
|
||||||
CMP(16, R(ESI), Imm16(0));
|
CMP(16, R(ESI), Imm16(0));
|
||||||
|
@ -288,7 +288,7 @@ void DSPEmitter::ext_dmem_read(u16 addr)
|
||||||
|
|
||||||
// u16 saddr = addr >> 12;
|
// u16 saddr = addr >> 12;
|
||||||
MOVZX(32, 16, ESI, R(EAX));
|
MOVZX(32, 16, ESI, R(EAX));
|
||||||
SHR(16, R(ESI), Imm16(12));
|
SHR(16, R(ESI), Imm8(12));
|
||||||
|
|
||||||
// if (saddr == 0)
|
// if (saddr == 0)
|
||||||
CMP(16, R(ESI), Imm16(0));
|
CMP(16, R(ESI), Imm16(0));
|
||||||
|
|
Loading…
Reference in New Issue