diff options
author | Max Horn | 2007-02-13 14:55:11 +0000 |
---|---|---|
committer | Max Horn | 2007-02-13 14:55:11 +0000 |
commit | 4968e912ce005f582a34cd0fba7395ebdfc7dc40 (patch) | |
tree | e1d2b83152b98238b69989cba3006439c122decb /engines/saga | |
parent | 08079c9dec6f59b1e8d100d90ef83581a38aecbe (diff) | |
download | scummvm-rg350-4968e912ce005f582a34cd0fba7395ebdfc7dc40.tar.gz scummvm-rg350-4968e912ce005f582a34cd0fba7395ebdfc7dc40.tar.bz2 scummvm-rg350-4968e912ce005f582a34cd0fba7395ebdfc7dc40.zip |
AdvancedDetector changes:
* Renamed genGameList to gameIDList to make it match the corresponding
plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN
svn-id: r25547
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/game.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp index aaec2dad2f..ca3e4ddfca 100644 --- a/engines/saga/game.cpp +++ b/engines/saga/game.cpp @@ -79,7 +79,6 @@ int SagaEngine::getPatchesCount() const { return _gameDescription->patchesCount; const GamePatchDescription *SagaEngine::getPatchDescriptions() const { return _gameDescription->patchDescriptions; } const Common::ADGameFileDescription *SagaEngine::getFilesDescriptions() const { return _gameDescription->desc.filesDescriptions; } -static GameList GAME_detectGames(const FSList &fslist); } static const PlainGameDescriptor sagaGames[] = { @@ -120,7 +119,7 @@ static const Common::ADParams detectionParams = { Common::kADFlagAugmentPreferredTarget }; -ADVANCED_DETECTOR_DEFINE_PLUGIN(SAGA, Saga::SagaEngine, Saga::GAME_detectGames, detectionParams); +ADVANCED_DETECTOR_DEFINE_PLUGIN(SAGA, Saga::SagaEngine, detectionParams); REGISTER_PLUGIN(SAGA, "SAGA Engine", "Inherit the Earth (C) Wyrmkeep Entertainment"); @@ -140,8 +139,4 @@ bool SagaEngine::initGame() { return _resource->createContexts(); } -GameList GAME_detectGames(const FSList &fslist) { - return Common::AdvancedDetector::detectAllGames(fslist, detectionParams); -} - } // End of namespace Saga |