mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Sansa clip zip: workaround for wisechip display - always copy an entire horizontal strip in lcd_update_rect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31029 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a71e87f132
commit
bf51af7f7a
1 changed files with 3 additions and 3 deletions
|
|
@ -400,10 +400,10 @@ void lcd_update_rect(int x, int y, int width, int height)
|
|||
return;
|
||||
}
|
||||
|
||||
/* align horizontal position to even for wisechip display */
|
||||
/* update entire horizontal strip for display type 0 (wisechip) */
|
||||
if (lcd_type == 0) {
|
||||
x = x & ~1;
|
||||
x_end = (x_end + 1) & ~1;
|
||||
x = 0;
|
||||
x_end = 96;
|
||||
}
|
||||
|
||||
/* correct rectangle (if necessary) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue