aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/detection.cpp
diff options
context:
space:
mode:
authorMax Horn2011-06-11 17:52:32 +0200
committerMax Horn2011-06-14 18:17:01 +0200
commit7c992d6598743fce09e6666f2c9a0f550ac5e870 (patch)
tree640b10d5e91119f6b943669f703e1fe0bbbb261a /engines/sword25/detection.cpp
parente4a4aa30f743395342a4ce9cbd6bf6f3f81d6172 (diff)
downloadscummvm-rg350-7c992d6598743fce09e6666f2c9a0f550ac5e870.tar.gz
scummvm-rg350-7c992d6598743fce09e6666f2c9a0f550ac5e870.tar.bz2
scummvm-rg350-7c992d6598743fce09e6666f2c9a0f550ac5e870.zip
DETECTOR: Merge ADParams into AdvancedMetaEngine
Diffstat (limited to 'engines/sword25/detection.cpp')
-rw-r--r--engines/sword25/detection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/detection.cpp b/engines/sword25/detection.cpp
index c704b3e833..b2f5795663 100644
--- a/engines/sword25/detection.cpp
+++ b/engines/sword25/detection.cpp
@@ -44,9 +44,9 @@ static const char *directoryGlobs[] = {
class Sword25MetaEngine : public AdvancedMetaEngine {
public:
Sword25MetaEngine() : AdvancedMetaEngine(Sword25::gameDescriptions, sizeof(ADGameDescription), sword25Game) {
- params.guioptions = Common::GUIO_NOMIDI;
- params.depth = 2;
- params.directoryGlobs = directoryGlobs;
+ _guioptions = Common::GUIO_NOMIDI;
+ _maxScanDepth = 2;
+ _directoryGlobs = directoryGlobs;
}
virtual const char *getName() const {
return "Sword25";