diff options
author | Matthew Hoops | 2011-06-13 13:20:15 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-06-13 13:20:15 -0400 |
commit | 5e7acc83b7ad363014e2a6681bcba22c9bbd9c07 (patch) | |
tree | a2633b2c6a1d6b02431d8c77a27917212ae537d6 | |
parent | d355475a0416897ed254fa85f4d63d0f75d9c7ea (diff) | |
download | scummvm-rg350-5e7acc83b7ad363014e2a6681bcba22c9bbd9c07.tar.gz scummvm-rg350-5e7acc83b7ad363014e2a6681bcba22c9bbd9c07.tar.bz2 scummvm-rg350-5e7acc83b7ad363014e2a6681bcba22c9bbd9c07.zip |
PEGASUS: Update detection
-rw-r--r-- | engines/pegasus/detection.cpp | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/engines/pegasus/detection.cpp b/engines/pegasus/detection.cpp index 1852429447..d0e3fc17fd 100644 --- a/engines/pegasus/detection.cpp +++ b/engines/pegasus/detection.cpp @@ -83,37 +83,15 @@ static const PegasusGameDescription gameDescriptions[] = { } // End of namespace Pegasus -static const ADParams detectionParams = { - // Pointer to ADGameDescription or its superset structure - (const byte *)Pegasus::gameDescriptions, - // Size of that superset structure - sizeof(Pegasus::PegasusGameDescription), - // Number of bytes to compute MD5 sum for - 5000, - // List of all engine targets - pegasusGames, - // Structure for autoupgrading obsolete targets - 0, - // Name of single gameid (optional) - "pegasus", - // 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 PegasusMetaEngine : public AdvancedMetaEngine { public: - PegasusMetaEngine() : AdvancedMetaEngine(detectionParams) {} + PegasusMetaEngine() : AdvancedMetaEngine(Pegasus::gameDescriptions, sizeof(Pegasus::PegasusGameDescription), pegasusGames) { + params.singleid = "pegasus"; + } virtual const char *getName() const { - return "Pegasus Prime Engine"; + return "The Journeyman Project: Pegasus Prime"; } virtual const char *getOriginalCopyright() const { |