diff --git a/source/backend/engine/CarlaEngine.cpp b/source/backend/engine/CarlaEngine.cpp index 106726777..ddb1ad0f9 100644 --- a/source/backend/engine/CarlaEngine.cpp +++ b/source/backend/engine/CarlaEngine.cpp @@ -593,7 +593,16 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype, break; case PLUGIN_DSSI: - plugin = CarlaPlugin::newDSSI(initializer); + if (CarlaString(filename).contains("dssi-vst", true)) + { + const ScopedEngineEnvironmentLocker _seel(this); + const ScopedEnvVar _sev("VST_PATH", pData->options.pathVST2); + plugin = CarlaPlugin::newDSSI(initializer); + } + else + { + plugin = CarlaPlugin::newDSSI(initializer); + } break; case PLUGIN_LV2: