summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPAccelerator.cpp
diff options
context:
space:
mode:
authorMarko Pusljar <LM1234@gmail.com>2009-11-12 16:17:22 +0000
committerMarko Pusljar <LM1234@gmail.com>2009-11-12 16:17:22 +0000
commitb858befba24c8a31cab82dd7534b91e5606db5e9 (patch)
treee6f93b20423a730670373141aeace08d2daf498d /Source/Core/DSPCore/Src/DSPAccelerator.cpp
parent1ba75a05d0be3e5f37a54b4b19ce62ebc11ee3e6 (diff)
DSPLLE small mul fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4533 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPAccelerator.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPAccelerator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DSPCore/Src/DSPAccelerator.cpp b/Source/Core/DSPCore/Src/DSPAccelerator.cpp
index 04dcd88a95..525505b105 100644
--- a/Source/Core/DSPCore/Src/DSPAccelerator.cpp
+++ b/Source/Core/DSPCore/Src/DSPAccelerator.cpp
@@ -103,11 +103,14 @@ void dsp_write_aram_d3(u16 value)
case 0xA: // 16-bit writes
DSPHost_WriteHostMemory(value >> 8, Address);
DSPHost_WriteHostMemory(value & 0xFF, Address + 1);
+ Address += 2;
break;
default:
ERROR_LOG(DSPLLE, "dsp_write_aram_d3: Unseen Format %i", gdsp_ifx_regs[DSP_FORMAT]);
break;
}
+ gdsp_ifx_regs[DSP_ACCAH] = Address >> 16;
+ gdsp_ifx_regs[DSP_ACCAL] = Address & 0xffff;
}
u16 dsp_read_accelerator()