diff options
| author | Marko Pusljar <LM1234@gmail.com> | 2011-04-13 16:47:13 +0000 |
|---|---|---|
| committer | Marko Pusljar <LM1234@gmail.com> | 2011-04-13 16:47:13 +0000 |
| commit | 92f200e87b70fd6bd9907e32ed9ed64e28ecff83 (patch) | |
| tree | 96cfe691e686eea09b069720545b9d1c0a9b121c /Source/Core | |
| parent | 325213d75fab17082b5a47e0f46a727f1d3213d9 (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp index c1716d0d41..88115c57e1 100644 --- a/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp +++ b/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp @@ -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); |
