forked from len0rd/rockbox
Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
260f8d3480
commit
664a4189b2
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ void screen_dump(void)
|
||||||
|
|
||||||
for (bx = 0; bx < LCD_WIDTH; bx++)
|
for (bx = 0; bx < LCD_WIDTH; bx++)
|
||||||
{
|
{
|
||||||
#if (CONFIG_LCD == LCD_IPODCOLOR) || (CONFIG_LCD == LCD_IPODNANO)
|
#if (LCD_PIXELFORMAT == RGB565SWAPPED)
|
||||||
/* iPod LCD data is big endian although the CPU is not */
|
/* iPod LCD data is big endian although the CPU is not */
|
||||||
*dst++ = swap16(*src++);
|
*dst++ = swap16(*src++);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue