aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-05-14 11:22:26 -0500
committerColin Snover2017-05-20 21:14:18 -0500
commitcb657c0c0f0ba291218cde205f3f8ab5d228ff52 (patch)
tree0250642088c497bb132493825b0974e61d28b87f
parentc4134a9e92125c6bf31aa76621944288f4dd3f48 (diff)
downloadscummvm-rg350-cb657c0c0f0ba291218cde205f3f8ab5d228ff52.tar.gz
scummvm-rg350-cb657c0c0f0ba291218cde205f3f8ab5d228ff52.tar.bz2
scummvm-rg350-cb657c0c0f0ba291218cde205f3f8ab5d228ff52.zip
SCI: Ignore patch resources with .DOS and .WIN extensions
Type mismatch is triggered on THEGUIDE.DOS and THEGUIDE.WIN from at least Phant1 French 1.100.000.
-rw-r--r--engines/sci/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 068be662a4..42c1027532 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1598,7 +1598,7 @@ void ResourceManager::readResourcePatchesBase36() {
// The S/T prefixes often conflict with non-patch files and generate
// spurious warnings about invalid patches
- if (name.hasSuffix(".DLL") || name.hasSuffix(".EXE") || name.hasSuffix(".TXT") || name.hasSuffix(".OLD")) {
+ if (name.hasSuffix(".DLL") || name.hasSuffix(".EXE") || name.hasSuffix(".TXT") || name.hasSuffix(".OLD") || name.hasSuffix(".WIN") || name.hasSuffix(".DOS")) {
continue;
}