diff options
author | sluicebox | 2020-01-10 16:44:21 -0800 |
---|---|---|
committer | sluicebox | 2020-01-10 16:44:37 -0800 |
commit | 172bc97110b25d225401fd6777d8f48fee294600 (patch) | |
tree | e05ee7f5d13d11663fd85a08e35091ab7cfdc749 /dists/msvc | |
parent | 53901e7a9d84275cc47d6a7d8d4d0a8b56a651a7 (diff) | |
download | scummvm-rg350-172bc97110b25d225401fd6777d8f48fee294600.tar.gz scummvm-rg350-172bc97110b25d225401fd6777d8f48fee294600.tar.bz2 scummvm-rg350-172bc97110b25d225401fd6777d8f48fee294600.zip |
SCI: Ignore incorrectly detected volume version
Ignores a detected volume version of SCI3 when the map version is less
than SCI2, as that indicates detectVolVersion's heuristics failed.
SQ1VGA Russian has volume files with a few junk bytes in between
resource entries, which causes detectVolVersion to return SCI3
instead of the expected result of Invalid and then use the
correctly detected map version. The detection algorithm tries each
version until it finds one that fits, and the SCI3 pattern happens
to fit because it's necessarily the most permissive due to the
wCompression bytes containing meaningless values.
Fixes bug #10156
Diffstat (limited to 'dists/msvc')
0 files changed, 0 insertions, 0 deletions