diff options
author | sluicebox | 2018-12-02 13:21:28 -0800 |
---|---|---|
committer | Filippos Karapetis | 2018-12-02 23:21:28 +0200 |
commit | 62846769ad909737d21118781aeeda25317c70de (patch) | |
tree | 422d3d5edb9b78644a84b5190c44bea93d630f46 | |
parent | 58653c7917dc897b678958305ca0c167cce00c99 (diff) | |
download | scummvm-rg350-62846769ad909737d21118781aeeda25317c70de.tar.gz scummvm-rg350-62846769ad909737d21118781aeeda25317c70de.tar.bz2 scummvm-rg350-62846769ad909737d21118781aeeda25317c70de.zip |
SCI: Fix LB2 Yvette/Tut missing sync resource (#1373)
Fixes a missing resource in the game. bug #9956
-rw-r--r-- | engines/sci/resource_audio.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index 6a1b57cd5b..2e885666b6 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -476,6 +476,12 @@ int ResourceManager::readAudioMapSCI11(IntMapResourceSource *map) { // FIXME: The sync36 resource seems to be two bytes too big in KQ6CD // (bytes taken from the RAVE resource right after it) if (syncSize > 0) { + // LB2CD is missing the sync resource for message 1885 1 6 30 2 but it's a duplicate + // of 1885 1 6 16 2 which does have a sync resource so use that for both. bug #9956 + if (g_sci->getGameId() == GID_LAURABOW2 && map->_mapNumber == 1885 && n == 0x01061002) { + addResource(ResourceId(kResourceTypeSync36, map->_mapNumber, 0x01061e02), src, offset, syncSize, map->getLocationName()); + } + addResource(ResourceId(kResourceTypeSync36, map->_mapNumber, n & 0xffffff3f), src, offset, syncSize, map->getLocationName()); } } |