From d7d75d97fda6992ef3cf53625445cc5586d7476b Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 26 Aug 2017 18:06:20 -0500 Subject: SCI32: Ignore invalid audio maps in Phant2 FR Fixes Trac#10049. --- engines/sci/resource_audio.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/sci/resource_audio.cpp') diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index 08f5fb8891..ddaec1e971 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -511,6 +511,16 @@ int ResourceManager::readAudioMapSCI11(IntMapResourceSource *map) { continue; } + // Map 800 and 4176 contain content that was cut from the game. The + // French version of the game includes map files from the US + // release, but the audio resources are French so the maps don't + // match. Since the content was never used, just ignore these maps + // everywhere + if (g_sci->getGameId() == GID_PHANTASMAGORIA2 && + (map->_mapNumber == 800 || map->_mapNumber == 4176)) { + continue; + } + addResource(id, src, offset + syncSize, 0, map->getLocationName()); } } -- cgit v1.2.3