mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Sansa clip zip: attempt to fix the pixel format swappedness for good
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30873 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d11e5201dc
commit
58543296c9
3 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@
|
|||
#define LCD_WIDTH 96
|
||||
#define LCD_HEIGHT 96
|
||||
#define LCD_DEPTH 16 /* 65536 colours */
|
||||
#define LCD_PIXELFORMAT RGB565SWAPPED
|
||||
#define LCD_PIXELFORMAT RGB565
|
||||
|
||||
/* define this if you have LCD enable function */
|
||||
#define HAVE_LCD_ENABLE
|
||||
|
|
|
|||
|
|
@ -372,8 +372,8 @@ void lcd_write_data(const fb_data *data, int count)
|
|||
|
||||
while (count--) {
|
||||
pixel = *data++;
|
||||
lcd_write_dat((pixel >> 0) & 0xFF);
|
||||
lcd_write_dat((pixel >> 8) & 0xFF);
|
||||
lcd_write_dat((pixel >> 0) & 0xFF);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue