From f177b69aae8497f4e73afc1b0cf4903649b67f9e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 12 Apr 2021 22:38:36 +0200 Subject: [PATCH] Re-enable loading 32-bit VST3 plugins #80 --- src/plugin/utils.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp index 77f27df9..f17a5de3 100644 --- a/src/plugin/utils.cpp +++ b/src/plugin/utils.cpp @@ -54,17 +54,7 @@ PluginInfo::PluginInfo(PluginType plugin_type) plugin_arch(find_dll_architecture(windows_library_path)), windows_plugin_path( normalize_plugin_path(windows_library_path, plugin_type)), - wine_prefix(find_wine_prefix(windows_plugin_path)) { - // FIXME: We're getting some weird memory corruption issues with 32-bit VST3 - // plugins. Until we figure out what's causing this, we should just - // prevent these plugins from being loaded. - if (plugin_type == PluginType::vst3 && - plugin_arch == LibArchitecture::dll_32) { - throw std::runtime_error( - "Support for 32-bit VST3 plugins has temporarily been disabled " - "because of memory corruption issues"); - } -} + wine_prefix(find_wine_prefix(windows_plugin_path)) {} bp::environment PluginInfo::create_host_env() const { bp::environment env = boost::this_process::environment();