|
@@ -247,13 +247,9 @@ static void loadPlugins(std::string path) { |
|
|
if (!system::isDirectory(pluginPath)) |
|
|
if (!system::isDirectory(pluginPath)) |
|
|
continue; |
|
|
continue; |
|
|
if (!loadPlugin(pluginPath)) { |
|
|
if (!loadPlugin(pluginPath)) { |
|
|
message += string::f("Could not load plugin %s\n", pluginPath.c_str()); |
|
|
|
|
|
|
|
|
// Ignore bad plugins. They are reported in log.txt. |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (!message.empty()) { |
|
|
|
|
|
message += "See log for details."; |
|
|
|
|
|
osdialog_message(OSDIALOG_WARNING, OSDIALOG_OK, message.c_str()); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** Returns 0 if successful */ |
|
|
/** Returns 0 if successful */ |
|
|