CorsixTH/CorsixTH — pull request #484 by Alberth289346 (2014-12-23 11:19:16+00:00)
Title: Fix 32bpp pixel access

32bpp image data is not width * height * 4bytes, you have to decode it.
(function is sort-of a copy of a draw-sprite function)

This probably never failed because the legacy 8bpp -> 32bpp conversion is kind of stupid, so you always have enough data to pretend pData[y*width + x] works.