diff options
author | Colin Snover | 2017-06-16 12:57:24 -0500 |
---|---|---|
committer | Colin Snover | 2017-06-17 13:09:27 -0500 |
commit | e69507cc28ad5de480f12d9116624b7795738ece (patch) | |
tree | 285f6e0cf4f3e09ea1bac639ffb370e59780bb4f /video | |
parent | 7334f33a3d1fdb172d8987093bd677aeb9382571 (diff) | |
download | scummvm-rg350-e69507cc28ad5de480f12d9116624b7795738ece.tar.gz scummvm-rg350-e69507cc28ad5de480f12d9116624b7795738ece.tar.bz2 scummvm-rg350-e69507cc28ad5de480f12d9116624b7795738ece.zip |
SCI32: Implement engine-accurate DPCM overflow behaviour
DPCM decompression algorithms in SSCI operate directly on 8- and
16-bit registers, so any sample that ends up being out-of-range
during decompression gets wrapped by the CPU, not clipped.
This does not fix any known problem with AUD files, but there are
some VMDs (e.g. GK2 5280.VMD) which are known to contain OOR
samples. Making this code more accurate should prevent trouble
with any other similar files.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions