From 4968e912ce005f582a34cd0fba7395ebdfc7dc40 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 13 Feb 2007 14:55:11 +0000 Subject: 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 --- engines/gob/detection.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'engines/gob') diff --git a/engines/gob/detection.cpp b/engines/gob/detection.cpp index 317edea8f2..464fbea909 100644 --- a/engines/gob/detection.cpp +++ b/engines/gob/detection.cpp @@ -37,7 +37,6 @@ struct GOBGameDescription { const char *startTotBase; }; -static GameList GAME_detectGames(const FSList &fslist); } using namespace Common; @@ -918,7 +917,7 @@ static const ADParams detectionParams = { kADFlagAugmentPreferredTarget | kADFlagFilebasedFallback }; -ADVANCED_DETECTOR_DEFINE_PLUGIN(GOB, Gob::GobEngine, Gob::GAME_detectGames, detectionParams); +ADVANCED_DETECTOR_DEFINE_PLUGIN(GOB, Gob::GobEngine, detectionParams); REGISTER_PLUGIN(GOB, "Gob Engine", "Goblins Games (C) Coktel Vision"); @@ -949,8 +948,4 @@ bool GobEngine::detectGame() { return true; } -GameList GAME_detectGames(const FSList &fslist) { - return AdvancedDetector::detectAllGames(fslist, detectionParams); -} - } // End of namespace Parallaction -- cgit v1.2.3