VST: Fix main entry calling convention
This will probably break everything, but it was needed to load 32bit VST plugins with MSVC.
This commit is contained in:
@@ -814,7 +814,7 @@ bool RemoteVstPlugin::load( const std::string & _plugin_file )
|
||||
return false;
|
||||
}
|
||||
|
||||
typedef AEffect * ( __stdcall * mainEntryPointer )
|
||||
typedef AEffect * ( __cdecl * mainEntryPointer )
|
||||
( audioMasterCallback );
|
||||
mainEntryPointer mainEntry = (mainEntryPointer)
|
||||
GetProcAddress( m_libInst, "VSTPluginMain" );
|
||||
|
||||
Reference in New Issue
Block a user