fixed lcd_bitmap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1193 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d007447e71
commit
28859c52d5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue