aboutsummaryrefslogtreecommitdiff
path: root/video/dxa_decoder.h
diff options
context:
space:
mode:
authorColin Snover2016-06-25 21:19:47 +0200
committerWillem Jan Palenstijn2016-07-01 00:18:32 +0200
commitca279390a36d0f87be134c6788c6420a748b99b8 (patch)
tree2ab248f2a8feedc15709d0611e7d5f691665a403 /video/dxa_decoder.h
parent0c799e1bd910231ba05c8ed7f182577314ac967b (diff)
downloadscummvm-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 'video/dxa_decoder.h')
0 files changed, 0 insertions, 0 deletions