diff options
author | Eugene Sandulenko | 2010-06-14 14:50:53 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-14 14:50:53 +0000 |
commit | d59c312b0890d4ad9b97c4cc0280e00fac69d725 (patch) | |
tree | a25befa03d03198041452a310cd7909a03eeb078 | |
parent | 4d517ed0e9870ef75b7b0c3eeda9659563d3ace9 (diff) | |
download | scummvm-rg350-d59c312b0890d4ad9b97c4cc0280e00fac69d725.tar.gz scummvm-rg350-d59c312b0890d4ad9b97c4cc0280e00fac69d725.tar.bz2 scummvm-rg350-d59c312b0890d4ad9b97c4cc0280e00fac69d725.zip |
Mohawk: Added support for running Riven off DVD layout.
Uses new directory depth feature of AdvancedDetector.
Set directory depth to 2 and added Assets1/ directory.
As a result, DVD layout which does not have any game data
file in top level directory gets detected and runs well.
svn-id: r49654
-rw-r--r-- | engines/mohawk/detection.cpp | 2 | ||||
-rw-r--r-- | engines/mohawk/riven.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp index 44c3bc4f6d..6f66398971 100644 --- a/engines/mohawk/detection.cpp +++ b/engines/mohawk/detection.cpp @@ -1013,7 +1013,7 @@ static const ADParams detectionParams = { // Additional GUI options (for every game) Common::GUIO_NONE, // Maximum directory depth - 1 + 2 }; class MohawkMetaEngine : public AdvancedMetaEngine { diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index c646855bc7..f1536b3204 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -57,6 +57,7 @@ MohawkEngine_Riven::MohawkEngine_Riven(OSystem *syst, const MohawkGameDescriptio SearchMan.addSubDirectoryMatching(gameDataDir, "all"); SearchMan.addSubDirectoryMatching(gameDataDir, "data"); SearchMan.addSubDirectoryMatching(gameDataDir, "exe"); + SearchMan.addSubDirectoryMatching(gameDataDir, "assets1"); SearchMan.addSubDirectoryMatching(gameDataDir, "assets2"); g_atrusJournalRectSolo = new Common::Rect(295, 402, 313, 426); |