summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-11 14:14:46 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-11 14:19:43 +0100
commitce8aef737c3a0d6efa035c6ef634ba21ab0b6e42 (patch)
treefd51f7fb7b14109aff58e1f84700f83e7ad74fbe /firmware
parent25e50ed8f1361ef3295aeb298a3edf2214f5b3b3 (diff)
downloadrockbox-ce8aef737c3a0d6efa035c6ef634ba21ab0b6e42.tar.gz
rockbox-ce8aef737c3a0d6efa035c6ef634ba21ab0b6e42.zip
bmp loader: Fix loading of monochrome/greyscale BMPs with newer headers.
The code expected the color table at offset 54 (14+size of BITMAPINFOHEADER), which was after the BITMAPINFOHEADER header. However, newer BITMAPINFOHEADER versions exist which have more fields before the color table. Fix this by explicitely seeking to the color table. Change-Id: If1dfc77e7485e5a9e0bc0e7f577152da9358bd71
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions