forked from len0rd/rockbox
LCD scrolling routines: Fix the screen scrolling boundary with Vertical Strides.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23005 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6317bef3ce
commit
573d3f2845
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ void xlcd_scroll_up(int count)
|
|||
|
||||
length = LCD_HEIGHT - count;
|
||||
|
||||
width = LCD_WIDTH;
|
||||
width = LCD_WIDTH-1;
|
||||
data = rb->lcd_framebuffer;
|
||||
|
||||
do {
|
||||
|
@ -107,7 +107,7 @@ void xlcd_scroll_down(int count)
|
|||
|
||||
length = LCD_HEIGHT - count;
|
||||
|
||||
width = LCD_WIDTH;
|
||||
width = LCD_WIDTH-1;
|
||||
data = rb->lcd_framebuffer;
|
||||
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue