Permalink
Browse files

SCI: Silence more incorrect audio patch type warnings

  • Loading branch information...
csnover authored and bluegr committed Feb 7, 2018
1 parent 00552e6 commit 0962edc69b5ccd36a9b8fc43dc89dd9e008011be
Showing with 2 additions and 1 deletion.
  1. +2 −1 engines/sci/resource.cpp
@@ -1626,7 +1626,8 @@ 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") || name.hasSuffix(".WIN") || name.hasSuffix(".DOS")) {
if (name.hasSuffix(".DLL") || name.hasSuffix(".EXE") || name.hasSuffix(".TXT") || name.hasSuffix(".OLD") || name.hasSuffix(".WIN") || name.hasSuffix(".DOS") ||
name.hasSuffix(".HLP") || name.hasSuffix(".DRV")) {
continue;
}

0 comments on commit 0962edc

Please sign in to comment.