BASE: change the method name to adapt for new api

This commit is contained in:
ysj1173886760 2021-05-12 21:56:15 +08:00 committed by Eugene Sandulenko
parent a64a097ca3
commit 1c333f66e2
2 changed files with 3 additions and 3 deletions

View file

@ -735,7 +735,7 @@ DetectionResults EngineManager::detectGames(const Common::FSList &fslist) const
const MetaEngineDetection &metaEngine = (*iter)->get<MetaEngineDetection>();
// set the debug flags
DebugMan.debugFlagsClear();
DebugMan.debugFlagsRegister(metaEngine.getDebugChannelOptions());
DebugMan.debugFlagsRegister(metaEngine.getDebugChannels());
DetectedGames engineCandidates = metaEngine.detectGames(fslist);
for (uint i = 0; i < engineCandidates.size(); i++) {
@ -933,7 +933,7 @@ void EngineManager::upgradeTargetForEngineId(const Common::String &target) const
const MetaEngineDetection &metaEngine = plugin->get<MetaEngineDetection>();
// set debug flags before call detectGames
DebugMan.debugFlagsClear();
DebugMan.debugFlagsRegister(metaEngine.getDebugChannelOptions());
DebugMan.debugFlagsRegister(metaEngine.getDebugChannels());
DetectedGames candidates = metaEngine.detectGames(files);
if (candidates.empty()) {
warning("No games supported by the engine '%s' were found in path '%s' when upgrading target '%s'",