forked from len0rd/rockbox
Fix display bug in the Samsung YH-920 on partial lcd updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22626 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3c3d39e836
commit
bcb3d52582
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ void lcd_update_rect(int x0, int y, int width, int height)
|
|||
addr = &lcd_framebuffer[y][x0];
|
||||
|
||||
lcd_send_cmd(LCD_CNTL_DATA_WRITE);
|
||||
for (x = x0; x < width; x++)
|
||||
for (x = 0; x < width; x++)
|
||||
lcd_send_data(*addr++);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue