diff options
author | Kari Salminen | 2008-08-16 11:38:43 +0000 |
---|---|---|
committer | Kari Salminen | 2008-08-16 11:38:43 +0000 |
commit | f055cf5c3edd202bd8294edca3e0df98d22edffa (patch) | |
tree | 5bcfc4bb17918817617ef6e95b29ff3aac3babfe /backends/fs | |
parent | c91bf34039bd1bfe03a52b998d399e0dd501f4ac (diff) | |
download | scummvm-rg350-f055cf5c3edd202bd8294edca3e0df98d22edffa.tar.gz scummvm-rg350-f055cf5c3edd202bd8294edca3e0df98d22edffa.tar.bz2 scummvm-rg350-f055cf5c3edd202bd8294edca3e0df98d22edffa.zip |
Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything.
svn-id: r33935
Diffstat (limited to 'backends/fs')
0 files changed, 0 insertions, 0 deletions