aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:59:43 +0000
committerEugene Sandulenko2010-06-15 10:59:43 +0000
commitf2a62bb1f5bdc422eda47b5d673614e02d796035 (patch)
tree74cb72f7c1910c0b03cdd3034401faed48aebbce /engines
parent44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f (diff)
downloadscummvm-rg350-f2a62bb1f5bdc422eda47b5d673614e02d796035.tar.gz
scummvm-rg350-f2a62bb1f5bdc422eda47b5d673614e02d796035.tar.bz2
scummvm-rg350-f2a62bb1f5bdc422eda47b5d673614e02d796035.zip
MOHAWK: Properly add detection for Riven DVD.
svn-id: r49789
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/detection.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp
index 9c3154a8bd..c3a0c17251 100644
--- a/engines/mohawk/detection.cpp
+++ b/engines/mohawk/detection.cpp
@@ -123,6 +123,13 @@ static const PlainGameDescriptor mohawkGames[] = {
#include "mohawk/detection_tables.h"
+static const char *directoryGlobs[] = {
+ "all",
+ "assets1",
+ "data",
+ 0
+};
+
static const ADParams detectionParams = {
// Pointer to ADGameDescription or its superset structure
(const byte *)Mohawk::gameDescriptions,
@@ -145,7 +152,7 @@ static const ADParams detectionParams = {
// Maximum directory depth
2,
// List of directory globs
- 0
+ directoryGlobs
};
class MohawkMetaEngine : public AdvancedMetaEngine {