From b17c66981e0213fe1d437a14c724a02c9073dc94 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 26 Aug 2017 18:05:56 -0500 Subject: SCI32: Ignore invalid audio map in GK2 DE Fixes Trac#10143. --- engines/sci/resource_audio.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'engines') diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index 3484a06395..08f5fb8891 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -500,6 +500,17 @@ int ResourceManager::readAudioMapSCI11(IntMapResourceSource *map) { continue; } + // Map 2020 on CD 1 of the German release of GK2 is invalid. This + // content does not appear to ever be used by the game (it does not + // even exist in the US release), and there is a correct copy of it + // on CD 6, so just ignore the bad copy on CD 1 + if (g_sci->getGameId() == GID_GK2 && + g_sci->getLanguage() == Common::DE_DEU && + map->_volumeNumber == 1 && + map->_mapNumber == 2020) { + continue; + } + addResource(id, src, offset + syncSize, 0, map->getLocationName()); } } -- cgit v1.2.3