aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2017-01-08 19:39:09 -0600
committerColin Snover2017-01-09 19:34:54 -0600
commit70cfdb6a1f79fa25a699e42bf27e6e3fdcb8521d (patch)
tree64eb0d5340d93bafafad422edc8f564117dd0453 /engines/sci
parent2ce180735916524de97593ba7c7c4657ad89d8b6 (diff)
downloadscummvm-rg350-70cfdb6a1f79fa25a699e42bf27e6e3fdcb8521d.tar.gz
scummvm-rg350-70cfdb6a1f79fa25a699e42bf27e6e3fdcb8521d.tar.bz2
scummvm-rg350-70cfdb6a1f79fa25a699e42bf27e6e3fdcb8521d.zip
SCI32: Ignore .OLD extension when searching Audio36 patches
KQ7 2.00b includes a SIERRINF.OLD file which should not be matched.
Diffstat (limited to 'engines/sci')
-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 364ea2a0ac..77c3d4e637 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1507,7 +1507,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")) {
+ if (name.hasSuffix(".DLL") || name.hasSuffix(".EXE") || name.hasSuffix(".TXT") || name.hasSuffix(".OLD")) {
continue;
}