Fixes for new 16-bit framebuffer type

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7883 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-14 21:54:23 +00:00
parent ae7c55c12c
commit f5aebf7848
2 changed files with 3 additions and 3 deletions

View file

@ -346,10 +346,10 @@ void* main(void)
/* Notes: iPod Color/Photo LCD is 220x176, Nano is 176x138 */
/* Display the 42x47 pixel iPodLinux logo */
lcd_bitmap((unsigned char*)ipllogo, 20,6, 42,47);
lcd_bitmap(ipllogo, 20,6, 42,47);
/* Display the 100x31 pixel Rockbox logo */
lcd_bitmap((unsigned char*)rockboxlogo, 74,16, 100,31);
lcd_bitmap(rockboxlogo, 74,16, 100,31);
line=7;

View file

@ -204,7 +204,7 @@ void lcd_init_device(void)
/* Performance function that works with an external buffer
note that by and bheight are in 4-pixel units! */
void lcd_blit(const unsigned char* data, int x, int by, int width,
void lcd_blit(const fb_data* data, int x, int by, int width,
int bheight, int stride)
{
/* TODO: Implement lcd_blit() */