mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2025-02-16 20:09:12 +01:00
Only return active plugins in WUPSGetLoadedPlugins
This commit is contained in:
parent
9987fec53c
commit
1ad4b7aada
@ -222,6 +222,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