diff options
author | Max Horn | 2011-06-10 15:53:54 +0200 |
---|---|---|
committer | Max Horn | 2011-06-10 22:15:43 +0200 |
commit | 97f82b5a93848ceeaa0701dd0f6038ba30f50ea3 (patch) | |
tree | 2f174544372bc8125e8ad9efff78baf4cbe3f004 /engines | |
parent | dec7df0f16c0615482f6ae2830cfee1690afe5fc (diff) | |
download | scummvm-rg350-97f82b5a93848ceeaa0701dd0f6038ba30f50ea3.tar.gz scummvm-rg350-97f82b5a93848ceeaa0701dd0f6038ba30f50ea3.tar.bz2 scummvm-rg350-97f82b5a93848ceeaa0701dd0f6038ba30f50ea3.zip |
MADE: Switch to alternate AdvancedMetaEngine, avoid ADParams
Diffstat (limited to 'engines')
-rw-r--r-- | engines/made/detection.cpp | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/engines/made/detection.cpp b/engines/made/detection.cpp index d27823faf0..a0576a458e 100644 --- a/engines/made/detection.cpp +++ b/engines/made/detection.cpp @@ -525,34 +525,11 @@ static MadeGameDescription g_fallbackDesc = { } // End of namespace Made -static const ADParams detectionParams = { - // Pointer to ADGameDescription or its superset structure - (const byte *)Made::gameDescriptions, - // Size of that superset structure - sizeof(Made::MadeGameDescription), - // Number of bytes to compute MD5 sum for - 5000, - // List of all engine gameid - madeGames, - // Structure for autoupgrading obsolete gameids - 0, - // Name of single gameid (optional) - "made", - // List of files for file-based fallback detection (optional) - 0, - // Flags - 0, - // Additional GUI options (for every game} - Common::GUIO_NONE, - // Maximum directory depth - 1, - // List of directory globs - 0 -}; - class MadeMetaEngine : public AdvancedMetaEngine { public: - MadeMetaEngine() : AdvancedMetaEngine(detectionParams) {} + MadeMetaEngine() : AdvancedMetaEngine(Made::gameDescriptions, sizeof(Made::MadeGameDescription), madeGames) { + params.singleid = "made"; + } virtual const char *getName() const { return "MADE"; |