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 b42b0bf40a42196dc89b2e4c73c8d5b8d989b02a
parent f00333d7d8eaf3a3e88d12995b999b521738e4c4
Author: lol-catz <91396648+lol-catz@users.noreply.github.com>
Date:   Thu, 30 Sep 2021 05:56:53 -0500

Merge branch 'dsp56300:dsp56300' into dsp56300

Diffstat:
Msource/virusLib/microcontroller.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/virusLib/microcontroller.cpp b/source/virusLib/microcontroller.cpp @@ -53,10 +53,10 @@ Microcontroller::Microcontroller(HDI08& _hdi08, ROMFile& _romFile) : m_hdi08(_hd { std::vector<TPreset> singles; + const auto bank = b >= g_singleRamBankCount ? b - g_singleRamBankCount : b; + for(uint32_t p=0; p<g_presetsPerBank; ++p) { - const auto bank = b > g_singleRamBankCount ? b - g_singleRamBankCount : b; - TPreset single; m_rom.getSingle(bank, p, single);