BASE: PLUGINS: Add a plugin suffix only if it is available
This commit is contained in:
parent
7615f37698
commit
fea29b04ac
1 changed files with 2 additions and 0 deletions
|
@ -344,7 +344,9 @@ void PluginManagerUncached::init() {
|
|||
unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL, false); // empty the engine plugins
|
||||
|
||||
Common::String detectPluginName = "detection";
|
||||
#ifdef PLUGIN_SUFFIX
|
||||
detectPluginName += PLUGIN_SUFFIX;
|
||||
#endif
|
||||
|
||||
bool foundDetectPlugin = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue