ENGINES: Change behaviour of EngineMan::getPlugins.
- Changed so we can get any type of plugins. - This used to always return PLUGIN_TYPE_ENGINE. - Because now we can differentiate between engines and metaengine, this must be changed. - For now, return METAENGINE by default
This commit is contained in:
parent
f07bdb100e
commit
943df64b32
2 changed files with 10 additions and 4 deletions
|
@ -652,8 +652,8 @@ DetectionResults EngineManager::detectGames(const Common::FSList &fslist) const
|
|||
return DetectionResults(candidates);
|
||||
}
|
||||
|
||||
const PluginList &EngineManager::getPlugins() const {
|
||||
return PluginManager::instance().getPlugins(PLUGIN_TYPE_ENGINE);
|
||||
const PluginList &EngineManager::getPlugins(const PluginType fetchPluginType) const {
|
||||
return PluginManager::instance().getPlugins(fetchPluginType);
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue