[Scummvm-git-logs] scummvm master -> 62846769ad909737d21118781aeeda25317c70de
bluegr
bluegr at gmail.com
Sun Dec 2 22:21:31 CET 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
62846769ad SCI: Fix LB2 Yvette/Tut missing sync resource (#1373)
Commit: 62846769ad909737d21118781aeeda25317c70de
https://github.com/scummvm/scummvm/commit/62846769ad909737d21118781aeeda25317c70de
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2018-12-02T23:21:28+02:00
Commit Message:
SCI: Fix LB2 Yvette/Tut missing sync resource (#1373)
Fixes a missing resource in the game. bug #9956
Changed paths:
engines/sci/resource_audio.cpp
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp
index 6a1b57c..2e88566 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());
}
}
More information about the Scummvm-git-logs
mailing list