DSP Jit 2 small fixes

one from bhaal and one from skidau


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5398 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2010-04-22 18:43:24 +00:00
parent 3adc2cef68
commit 219e8beb6d
2 changed files with 2 additions and 2 deletions

View File

@ -524,7 +524,7 @@ void DSPEmitter::pushExtValueFromReg(u16 dreg, u16 sreg) {
}
void DSPEmitter::pushExtValueFromMem(u16 dreg, u16 sreg) {
ext_dmem_read(g_dsp.r[DSP_REG_AR0]);
ext_dmem_read(g_dsp.r[sreg]);
MOV(16, R(EBX), R(EAX));
storeIndex = dreg;

View File

@ -287,7 +287,7 @@ void DSPEmitter::ext_dmem_read(u16 addr)
MOVZX(32, 16, ECX, M(&addr));
// u16 saddr = addr >> 12;
MOVZX(32, 16, ESI, R(EAX));
MOVZX(32, 16, ESI, R(ECX));
SHR(16, R(ESI), Imm8(12));
// if (saddr == 0)