llejit/addaxl - Fix issue 4257 (SSX On Tour crashing with llejit/64bit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7457 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
325213d75f
commit
92f200e87b
|
@ -786,6 +786,7 @@ void DSPEmitter::addaxl(const UDSPInstruction opc)
|
|||
MOV(64, R(RAX), R(tmp1));
|
||||
// u16 acx = (u16)dsp_get_ax_l(sreg);
|
||||
get_ax_l(sreg, RDX);
|
||||
MOVZX(64, 16, RDX, R(RDX));
|
||||
// u64 res = acc + acx;
|
||||
ADD(64, R(RAX), R(RDX));
|
||||
// dsp_set_long_acc(dreg, (s64)res);
|
||||
|
|
Loading…
Reference in New Issue