diff --git a/src/wine-host/plugin-bridge.cpp b/src/wine-host/plugin-bridge.cpp index 3b7d358f..fc951e49 100644 --- a/src/wine-host/plugin-bridge.cpp +++ b/src/wine-host/plugin-bridge.cpp @@ -76,7 +76,7 @@ PluginBridge::PluginBridge(std::string plugin_dll_path, // VST plugin entry point functions should be called `VSTPluginMain`, but // there are some older deprecated names that legacy plugins may still use VstEntryPoint vst_entry_point = nullptr; - for (auto name : {"VSTPluginMain", "main", "main_plugin"}) { + for (auto name : {"VSTPluginMain", "main_plugin", "main"}) { vst_entry_point = reinterpret_cast(reinterpret_cast( GetProcAddress(plugin_handle.get(), name)));