dsp: lrs is also sign extended in "40bit" mode. tested (correctly, this time :D )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5071 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
16b21f3790
commit
b88f510984
|
@ -47,6 +47,7 @@ void lrs(const UDSPInstruction& opc)
|
|||
u8 reg = ((opc.hex >> 8) & 0x7) + 0x18;
|
||||
u16 addr = (g_dsp.r[DSP_REG_CR] << 8) | (opc.hex & 0xFF);
|
||||
g_dsp.r[reg] = dsp_dmem_read(addr);
|
||||
dsp_conditional_extend_accum(reg);
|
||||
}
|
||||
|
||||
// LR $D, @M
|
||||
|
|
Loading…
Reference in New Issue