From f8d4ffa8ed86e25476956d6d506ca3cccd5864e0 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 8 May 2017 00:02:53 -0500 Subject: 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. --- engines/sci/resource.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3