summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd.c
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-06-26 11:39:27 +0000
committerFelix Arends <edx@rockbox.org>2002-06-26 11:39:27 +0000
commit28859c52d5bc3e47e7944700fcb80bb67f0ac81a (patch)
tree3b257fbf0ad4d76564d4edd93984fbe281d4a721 /firmware/drivers/lcd.c
parentd007447e71e3695f0fd5b3e980d07248b3c9d5a3 (diff)
fixed lcd_bitmap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1193 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r--firmware/drivers/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index a228a6501b..6ac9adcd8e 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -655,7 +655,7 @@ void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny,
if (((unsigned)(y + ny)) >= LCD_HEIGHT)
ny = LCD_HEIGHT - y;
- shift = y & 2;
+ shift = y & 7;
dst2 = &display[x][y/8];
ny += shift;