fixed lcd_bitmap

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1193 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Felix Arends 2002-06-26 11:39:27 +00:00
parent d007447e71
commit 28859c52d5

View file

@ -655,7 +655,7 @@ void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny,
if (((unsigned)(y + ny)) >= LCD_HEIGHT) if (((unsigned)(y + ny)) >= LCD_HEIGHT)
ny = LCD_HEIGHT - y; ny = LCD_HEIGHT - y;
shift = y & 2; shift = y & 7;
dst2 = &display[x][y/8]; dst2 = &display[x][y/8];
ny += shift; ny += shift;