aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/detection.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-01-27 04:26:28 +0000
committerMatthew Hoops2010-01-27 04:26:28 +0000
commiteabbe89971d420bcd9a464fb08f3daef20a910f8 (patch)
treea29cdc0385d6237e226c4d513f126f18d9912e6c /engines/sci/detection.cpp
parent3f7b6f9472aa288f26500a049b95e6562c042485 (diff)
downloadscummvm-rg350-eabbe89971d420bcd9a464fb08f3daef20a910f8.tar.gz
scummvm-rg350-eabbe89971d420bcd9a464fb08f3daef20a910f8.tar.bz2
scummvm-rg350-eabbe89971d420bcd9a464fb08f3daef20a910f8.zip
Improve support for the SCI2.1/SCI3 file naming scheme. Multiple maps can be used and have to be matched up with their volume counterparts. Adding detection for the Phantasmagoria Demo too.
svn-id: r47588
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r--engines/sci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index 780e744f9b..30b5f00964 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -211,7 +211,7 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl
Common::String filename = file->getName();
filename.toLowercase();
- if (filename.contains("resource.map") || filename.contains("resmap.000")) {
+ if (filename.contains("resource.map") || filename.contains("resmap.00")) {
// HACK: resource.map is located in the same directory as the other resource files,
// therefore add the directory here, so that the game files can be opened later on
// We now add the parent directory temporary to our SearchMan so the engine code