1
0
Fork 0
forked from len0rd/rockbox

Fixed lcd_blit().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-07-16 02:09:22 +00:00
parent bd49835135
commit 2ef8a8722d

View file

@ -213,7 +213,7 @@ void lcd_blit(const unsigned char* data, int x, int by, int width,
/* Copy display bitmap to hardware */ /* Copy display bitmap to hardware */
while (bheight--) while (bheight--)
{ {
lcd_write_command_ex(LCD_CNTL_PAGE, by++ & 0xf, -1); lcd_write_command_ex(LCD_CNTL_PAGE, by++, -1);
lcd_write_command_ex(LCD_CNTL_COLUMN, x, -1); lcd_write_command_ex(LCD_CNTL_COLUMN, x, -1);
lcd_write_command(LCD_CNTL_DATA_WRITE); lcd_write_command(LCD_CNTL_DATA_WRITE);