Daniel15 / Sharpamp

Sharpamp allows you to easily write Winamp plugins in C# - Migrated from Google Code
26 stars 9 forks source link

Fixed a problem on the config event #5

Closed ChocolateAdventurouz closed 2 years ago

ChocolateAdventurouz commented 2 years ago

Winamp/WACUP complains, with this popup "This plugin has no configuration options", even the C# code on the Config() event executes fine.

Demonstration of the problem:

Demonstration

ChocolateAdventurouz commented 2 years ago
void config(void)
{
    PluginWrapper::plugin->Config();
}

Actually the error handling here seems pointless, since it is already handled. Just added the void arg.