mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-09-30 06:43:10 -05:00
Unload unactive plugin when wiiloading a plugin with the same name and author
This commit is contained in:
@@ -146,6 +146,9 @@ namespace WUPSConfigAPIBackend {
|
||||
return WUPSCONFIG_API_RESULT_INVALID_ARGUMENT;
|
||||
}
|
||||
for (auto &cur : gLoadedPlugins) {
|
||||
if (!cur.isLinkedAndLoaded()) {
|
||||
continue;
|
||||
}
|
||||
if (cur.getHandle() == pluginIdentifier) {
|
||||
if (options.version != 1) {
|
||||
return WUPSCONFIG_API_RESULT_UNSUPPORTED_VERSION;
|
||||
|
||||
Reference in New Issue
Block a user