diff options
author | Colin Snover | 2016-06-25 21:19:47 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-07-01 00:18:32 +0200 |
commit | ca279390a36d0f87be134c6788c6420a748b99b8 (patch) | |
tree | 2ab248f2a8feedc15709d0611e7d5f691665a403 /engines/sci/decompressor.h | |
parent | 0c799e1bd910231ba05c8ed7f182577314ac967b (diff) | |
download | scummvm-rg350-ca279390a36d0f87be134c6788c6420a748b99b8.tar.gz scummvm-rg350-ca279390a36d0f87be134c6788c6420a748b99b8.tar.bz2 scummvm-rg350-ca279390a36d0f87be134c6788c6420a748b99b8.zip |
SCI32: Fix broken Remap implementation
Remap would crash SCI2.1early games with 19 remap slots, and
did not actually work in most cases in SCI2.1mid+ games.
1. Avoid accidental corruption of values from the VM that may be
valid when signed or larger than 8 bits
2. Fix bad `matchColor` function.
3. Remove unnecessary initialisation of SingleRemaps
4. Update architecture to more closely mirror how SSCI worked
5. Split large `apply` function into smaller units
6. Fix buffer overrun when loading a SCI2.1early game with remap
7. Warn instead of crashing with an error on invalid input (to
match SSCI more closely)
8. Add save/load function
Diffstat (limited to 'engines/sci/decompressor.h')
0 files changed, 0 insertions, 0 deletions