mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -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_WIDTH 96
|
||||||
#define LCD_HEIGHT 96
|
#define LCD_HEIGHT 96
|
||||||
#define LCD_DEPTH 16 /* 65536 colours */
|
#define LCD_DEPTH 16 /* 65536 colours */
|
||||||
#define LCD_PIXELFORMAT RGB565SWAPPED
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* define this if you have LCD enable function */
|
/* define this if you have LCD enable function */
|
||||||
#define HAVE_LCD_ENABLE
|
#define HAVE_LCD_ENABLE
|
||||||
|
|
|
||||||
|
|
@ -372,8 +372,8 @@ void lcd_write_data(const fb_data *data, int count)
|
||||||
|
|
||||||
while (count--) {
|
while (count--) {
|
||||||
pixel = *data++;
|
pixel = *data++;
|
||||||
lcd_write_dat((pixel >> 0) & 0xFF);
|
|
||||||
lcd_write_dat((pixel >> 8) & 0xFF);
|
lcd_write_dat((pixel >> 8) & 0xFF);
|
||||||
|
lcd_write_dat((pixel >> 0) & 0xFF);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
tools/configure
vendored
2
tools/configure
vendored
|
|
@ -2536,7 +2536,7 @@ fi
|
||||||
target="-DSANSA_CLIPZIP"
|
target="-DSANSA_CLIPZIP"
|
||||||
memory=8 # not sure
|
memory=8 # not sure
|
||||||
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
|
||||||
bmp2rb_native="$rootdir/tools/bmp2rb -f 5"
|
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
|
||||||
tool="$rootdir/tools/scramble -add=clzp"
|
tool="$rootdir/tools/scramble -add=clzp"
|
||||||
output="rockbox.sansa"
|
output="rockbox.sansa"
|
||||||
bootoutput="bootloader-clipzip.sansa"
|
bootoutput="bootloader-clipzip.sansa"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue