mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2025-01-24 10:01:12 +01:00
Only return active plugins in WUPSGetLoadedPlugins
This commit is contained in:
parent
fbe92ccc21
commit
2cb5096287
@ -226,6 +226,9 @@ extern "C" PluginBackendApiErrorType WUPSGetLoadedPlugins(wups_backend_plugin_co
|
||||
*plugin_information_version = WUPS_BACKEND_PLUGIN_INFORMATION_VERSION;
|
||||
uint32_t counter = 0;
|
||||
for (const auto &plugin : gLoadedPlugins) {
|
||||
if (!plugin.isLinkedAndLoaded()) {
|
||||
continue;
|
||||
}
|
||||
if (counter < buffer_size) {
|
||||
io_handles[counter] = plugin.getHandle();
|
||||
counter++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user