mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 00:32:53 +00:00
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:
parent
3adc2cef68
commit
219e8beb6d
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user