]> git.draconx.ca Git - liblbx.git/commitdiff
Update handling of embedded palette data in image files.
authorNick Bowler <draconx@gmail.com>
Mon, 31 Dec 2007 10:24:40 +0000 (05:24 -0500)
committerNick Bowler <draconx@gmail.com>
Mon, 31 Dec 2007 10:24:40 +0000 (05:24 -0500)
The pal (formerly wtf2) value indicates the presence of a palette: 0x1000 if
present; 0 otherwise.  Then, immediately following the offsets comes the
palette header: 2 bytes always zero, 2 bytes for the number of entries.
Entries are sequential starting from zero.

This makes the logo images work.


No differences found