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 413d17f121b4f80fe86df11c176bab86f9a6b703
parent d030736d3b0b76ee9c4b041619e3c02b58b279f4
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun,  3 Nov 2024 20:18:32 +0100

fix FX plugins not using the non-FX data folder

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

diff --git a/source/jucePluginLib/processor.cpp b/source/jucePluginLib/processor.cpp @@ -367,8 +367,8 @@ namespace pluginLib { const auto& p = getProperties(); auto name = p.name; - if(!_useFxName && p.isSynth && name.substr(name.size()-2, 2) == "FX") - return name.substr(name.size() - 2); + if(!_useFxName && !p.isSynth && name.substr(name.size()-2, 2) == "FX") + return name.substr(0, name.size() - 2); return name; }