diff options
Diffstat (limited to 'engines/wintermute/detection.cpp')
-rw-r--r-- | engines/wintermute/detection.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/wintermute/detection.cpp b/engines/wintermute/detection.cpp index ff46418baa..04f7f3b112 100644 --- a/engines/wintermute/detection.cpp +++ b/engines/wintermute/detection.cpp @@ -51,10 +51,17 @@ static ADGameDescription s_fallbackDesc = { }; static char s_fallbackGameIdBuf[256]; +static const char *directoryGlobs[] = { + "language", // To detect the various languages + 0 +}; + class WintermuteMetaEngine : public AdvancedMetaEngine { public: WintermuteMetaEngine() : AdvancedMetaEngine(Wintermute::gameDescriptions, sizeof(ADGameDescription), Wintermute::wintermuteGames) { _singleid = "wintermute"; + _maxScanDepth = 2; + _directoryGlobs = directoryGlobs; } virtual const char *getName() const { return "Wintermute"; |