mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-24 21:56:53 +01:00
Fix error notiifcation when plugin loading fails
This commit is contained in:
parent
8276a31597
commit
6acd8fcfdf
@ -24,7 +24,7 @@ PluginManagement::loadPlugins(const std::set<std::shared_ptr<PluginData>> &plugi
|
|||||||
if (metaInfo && error == PLUGIN_PARSE_ERROR_NONE) {
|
if (metaInfo && error == PLUGIN_PARSE_ERROR_NONE) {
|
||||||
auto info = PluginInformationFactory::load(*pluginData, trampolineData, trampolineID++);
|
auto info = PluginInformationFactory::load(*pluginData, trampolineData, trampolineID++);
|
||||||
if (!info) {
|
if (!info) {
|
||||||
auto errMsg = string_format("Failed to load plugin: %s", metaInfo->getName().c_str());
|
auto errMsg = string_format("Failed to load plugin: %s", pluginData->getSource().c_str());
|
||||||
DEBUG_FUNCTION_LINE_ERR("%s", errMsg.c_str());
|
DEBUG_FUNCTION_LINE_ERR("%s", errMsg.c_str());
|
||||||
DisplayErrorNotificationMessage(errMsg, 15.0f);
|
DisplayErrorNotificationMessage(errMsg, 15.0f);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user