1
0
Fork 0
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:
Dave Chapman 2005-11-19 02:14:16 +00:00
parent 260f8d3480
commit 664a4189b2

View file

@ -379,7 +379,7 @@ void screen_dump(void)
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 */
*dst++ = swap16(*src++);
#else