mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
BASE: PLUGINS: Remove comments referring to old game detection
This commit is contained in:
parent
92839dce1c
commit
84ddd3ac88
@ -623,28 +623,6 @@ DetectionResults EngineManager::detectGames(const Common::FSList &fslist) const
|
||||
PluginList plugins;
|
||||
PluginList::const_iterator iter;
|
||||
|
||||
/**
|
||||
* Reference to old detection of games.
|
||||
* PLUGINS TODO: Remove at end.
|
||||
PluginMan.loadFirstPlugin();
|
||||
do {
|
||||
plugins = getPlugins();
|
||||
// Iterate over all known games and for each check if it might be
|
||||
// the game in the presented directory.
|
||||
for (iter = plugins.begin(); iter != plugins.end(); ++iter) {
|
||||
const MetaEngine &metaEngine = (*iter)->get<MetaEngine>();
|
||||
DetectedGames engineCandidates = metaEngine.detectGames(fslist);
|
||||
|
||||
for (uint i = 0; i < engineCandidates.size(); i++) {
|
||||
engineCandidates[i].path = fslist.begin()->getParent().getPath();
|
||||
engineCandidates[i].shortPath = fslist.begin()->getParent().getDisplayName();
|
||||
candidates.push_back(engineCandidates[i]);
|
||||
}
|
||||
|
||||
}
|
||||
} while (PluginMan.loadNextPlugin());
|
||||
*/
|
||||
|
||||
// MetaEngines are always loaded into memory, so, get them and
|
||||
// run detection for all of them.
|
||||
plugins = getPlugins(PLUGIN_TYPE_METAENGINE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user