gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit a1cd8107e3070238eb52f2bc89a2cc982ab719a7
parent 6f8fa21f092b51c76edabac7d21b9f80cea0ac23
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Mon,  7 Oct 2024 23:20:00 +0200

fix possible issue of dsp boot code not invalidating JIT blocks

Diffstat:
Msource/hardwareLib/dspBootCode.cpp | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/source/hardwareLib/dspBootCode.cpp b/source/hardwareLib/dspBootCode.cpp @@ -49,7 +49,9 @@ namespace hwLib m_state = State::Data; return false; case State::Data: - m_dsp.memory().set(dsp56k::MemArea_P, m_address++, _val); + m_dsp.memory().set(dsp56k::MemArea_P, m_address, _val); + m_dsp.getJit().notifyProgramMemWrite(m_address); + ++m_address; if(0 == --m_remaining) { LOG("DSP Boot: finished");