mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2026-04-26 08:17:58 -05:00
Check the path instead of the plugin name to check if a plugin was loaded.
This commit is contained in:
parent
8c99eb42d1
commit
d4371da0a3
|
|
@ -116,7 +116,7 @@ ContentHome::ContentHome():ContentTemplate()
|
||||||
|
|
||||||
for (std::vector<PluginInformation *>::iterator itOther = pluginListLoaded.begin() ; itOther != pluginListLoaded.end(); ++itOther) {
|
for (std::vector<PluginInformation *>::iterator itOther = pluginListLoaded.begin() ; itOther != pluginListLoaded.end(); ++itOther) {
|
||||||
PluginInformation * otherPlugin = *itOther;
|
PluginInformation * otherPlugin = *itOther;
|
||||||
if(otherPlugin->getName().compare(curPlugin->getName()) == 0) {
|
if(otherPlugin->getPath().compare(curPlugin->getPath()) == 0) {
|
||||||
element->setValue(true);
|
element->setValue(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user