diff options
author | Colin Snover | 2017-05-10 00:33:43 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-10 10:55:00 -0500 |
commit | dd13c3be43b2566d7ee6449be7918a86428bb4da (patch) | |
tree | 2bb300049aeb79eb787a1af0631af35636b8c56b /engines/sci/sound | |
parent | 53b0b82e8754e5e74dda2dedd9f7da726b068df7 (diff) | |
download | scummvm-rg350-dd13c3be43b2566d7ee6449be7918a86428bb4da.tar.gz scummvm-rg350-dd13c3be43b2566d7ee6449be7918a86428bb4da.tar.bz2 scummvm-rg350-dd13c3be43b2566d7ee6449be7918a86428bb4da.zip |
SCI: Fix support for ScummVM compressed audio volumes
The runtime code for this had previously relied on hot patching
volume file offsets at the moment that a resource was loaded,
instead of correcting file offsets when reading audio maps. The
code added for sanity checking audio volumes started to report
warnings because the offsets being received were for the original
uncompressed audio volume, which (naturally) is larger than the
compressed audio volume.
This commit also deduplicates code between addResource and
updateResource, and tweaks a validation-related error message for
improved clarity.
Fixes Trac#9764.
Diffstat (limited to 'engines/sci/sound')
0 files changed, 0 insertions, 0 deletions