aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2017-05-08 00:02:53 -0500
committerColin Snover2017-05-08 11:26:47 -0500
commitf8d4ffa8ed86e25476956d6d506ca3cccd5864e0 (patch)
treebb054c4cf0794076fcf643a433e5b7032fa84933 /engines/sci
parent130c9ecbb81f0c078d1cd54f790ee0071d7af752 (diff)
downloadscummvm-rg350-f8d4ffa8ed86e25476956d6d506ca3cccd5864e0.tar.gz
scummvm-rg350-f8d4ffa8ed86e25476956d6d506ca3cccd5864e0.tar.bz2
scummvm-rg350-f8d4ffa8ed86e25476956d6d506ca3cccd5864e0.zip
SCI: Fix Audio36 patch suffix matching against lowercase extensions
The Lighthouse glider demo comes with a file named SDirectX.dll which was failing to match the case-sensitive suffix search for .DLL.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/resource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 0846b93d04..089b466729 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1591,6 +1591,7 @@ void ResourceManager::readResourcePatchesBase36() {
for (Common::ArchiveMemberList::const_iterator x = files.begin(); x != files.end(); ++x) {
name = (*x)->getName();
+ name.toUppercase();
// The S/T prefixes often conflict with non-patch files and generate
// spurious warnings about invalid patches