SCI: Silence more incorrect audio patch type warnings

This commit is contained in:
Colin Snover 2018-02-07 00:10:32 -06:00 committed by Filippos Karapetis
parent 00552e62c3
commit 0962edc69b

View file

@ -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;
}