aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
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/touche
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/touche')
-rw-r--r--engines/touche/detection.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index 3e324b5685..d1dde96f59 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -129,12 +129,12 @@ static const char *directoryGlobs[] = {
class ToucheMetaEngine : public AdvancedMetaEngine {
public:
ToucheMetaEngine() : AdvancedMetaEngine(Touche::gameDescriptions, sizeof(ADGameDescription), toucheGames) {
- params.md5Bytes = 4096;
- params.singleid = "touche";
- params.fileBasedFallback = Touche::fileBasedFallback;
- params.flags = kADFlagPrintWarningOnFileBasedFallback;
- params.depth = 2;
- params.directoryGlobs = directoryGlobs;
+ _md5Bytes = 4096;
+ _singleid = "touche";
+ _fileBasedFallback = Touche::fileBasedFallback;
+ _flags = kADFlagPrintWarningOnFileBasedFallback;
+ _maxScanDepth = 2;
+ _directoryGlobs = directoryGlobs;
}
virtual const char *getName() const {
return "Touche";