mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
2e39acf84c
Two improvements for RIFF loading: size and alignment A RIFF elements header: FourCC and size (4 bytes each) are not included in the size. Offset + 12 then size - 4. 'DIB ' resources were found to always lead with two zero bytes. Tested with: Fujitsu fmTOWNS SUPER TECHNOLOGY DEMO 1993. Other resources such as 'SND ' do need alignment. Tested with: SpaceWarlock Win. Intro movie lacked sound without alignment. (WARNING: SNDDecoder: Bad format: 17408!)