aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2011-06-10 15:53:55 +0200
committerMax Horn2011-06-10 22:15:44 +0200
commit289ad6b541a3f83f0283dc68510d2aedde9e4c38 (patch)
tree388ab3469160dc7b311a6c65ddeb3f8e4fad927d /engines
parentb1965f9a3f48a40cb84ff22b76a95a1cfc4eef38 (diff)
downloadscummvm-rg350-289ad6b541a3f83f0283dc68510d2aedde9e4c38.tar.gz
scummvm-rg350-289ad6b541a3f83f0283dc68510d2aedde9e4c38.tar.bz2
scummvm-rg350-289ad6b541a3f83f0283dc68510d2aedde9e4c38.zip
PARALLACTION: Switch to alternate AdvancedMetaEngine, avoid ADParams
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/detection.cpp29
1 files changed, 3 insertions, 26 deletions
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp
index 006ebacf14..09f6fa5e2e 100644
--- a/engines/parallaction/detection.cpp
+++ b/engines/parallaction/detection.cpp
@@ -220,34 +220,11 @@ static const PARALLACTIONGameDescription gameDescriptions[] = {
}
-static const ADParams detectionParams = {
- // Pointer to ADGameDescription or its superset structure
- (const byte *)Parallaction::gameDescriptions,
- // Size of that superset structure
- sizeof(Parallaction::PARALLACTIONGameDescription),
- // Number of bytes to compute MD5 sum for
- 5000,
- // List of all engine gameid
- parallactionGames,
- // Structure for autoupgrading obsolete gameids
- 0,
- // Name of single gameid (optional)
- 0,
- // List of files for file-based fallback detection (optional)
- 0,
- // Flags
- 0,
- // Additional GUI options (for every game}
- Common::GUIO_NOLAUNCHLOAD,
- // Maximum directory depth
- 1,
- // List of directory globs
- 0
-};
-
class ParallactionMetaEngine : public AdvancedMetaEngine {
public:
- ParallactionMetaEngine() : AdvancedMetaEngine(detectionParams) {}
+ ParallactionMetaEngine() : AdvancedMetaEngine(Parallaction::gameDescriptions, sizeof(Parallaction::PARALLACTIONGameDescription), parallactionGames) {
+ params.guioptions = Common::GUIO_NOLAUNCHLOAD;
+ }
virtual const char *getName() const {
return "Parallaction";