diff options
author | Colin Snover | 2016-10-25 19:48:55 -0500 |
---|---|---|
committer | Colin Snover | 2016-10-25 20:05:12 -0500 |
commit | eb6fa08311d5b7b7dcdd6e8d0b14854fb097d97a (patch) | |
tree | 6516f85540249bb45ac91e39bc705a845051fda3 /engines/director/director.cpp | |
parent | 56490360c211fefda19f31b889f9cd38238b1483 (diff) | |
download | scummvm-rg350-eb6fa08311d5b7b7dcdd6e8d0b14854fb097d97a.tar.gz scummvm-rg350-eb6fa08311d5b7b7dcdd6e8d0b14854fb097d97a.tar.bz2 scummvm-rg350-eb6fa08311d5b7b7dcdd6e8d0b14854fb097d97a.zip |
SCI: Implement SSCI bug in hexadecimal escape sequences
In SSCI, strchr is called against a hex string with a duplicate 0
("01234567890abcdef") to determine the decimal value of hex digits,
which means the values A-F are incorrectly interpreted as 11-16
instead of 10-15.
All versions of SSCI with support for hexadecimal escape sequences
in messages (starting somewhere around Feb 1993) are buggy.
The native save/load dialog of SCI32 relies on this defect to
render the up and down arrows of the game selector.
Fixes Trac#9582.
Diffstat (limited to 'engines/director/director.cpp')
0 files changed, 0 insertions, 0 deletions