From bf51af7f7a81fd2c51845cb49649ff462cb84238 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 19 Nov 2011 17:55:17 +0000 Subject: 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 --- firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/target/arm/as3525') diff --git a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c index 8e36ff59d1..d071844860 100644 --- a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c +++ b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c @@ -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) */ -- cgit v1.2.3