Moved AdvancedDetector from common/ to engines/
svn-id: r36132
This commit is contained in:
parent
7eaafd933f
commit
28cf213605
32 changed files with 694 additions and 703 deletions
|
@ -719,7 +719,7 @@ GameList ScummMetaEngine::getSupportedGames() const {
|
|||
}
|
||||
|
||||
GameDescriptor ScummMetaEngine::findGame(const char *gameid) const {
|
||||
return Common::AdvancedDetector::findGameID(gameid, gameDescriptions, obsoleteGameIDsTable);
|
||||
return AdvancedDetector::findGameID(gameid, gameDescriptions, obsoleteGameIDsTable);
|
||||
}
|
||||
|
||||
GameList ScummMetaEngine::detectGames(const Common::FSList &fslist) const {
|
||||
|
@ -783,7 +783,7 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co
|
|||
// We start by checking whether the specified game ID is obsolete.
|
||||
// If that is the case, we automatically upgrade the target to use
|
||||
// the correct new game ID (and platform, if specified).
|
||||
for (const Common::ADObsoleteGameID *o = obsoleteGameIDsTable; o->from; ++o) {
|
||||
for (const ADObsoleteGameID *o = obsoleteGameIDsTable; o->from; ++o) {
|
||||
if (!scumm_stricmp(gameid, o->from)) {
|
||||
// Match found, perform upgrade
|
||||
gameid = o->to;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue