diff options
author | Dave Chapman <dave@dchapman.com> | 2006-08-24 10:29:37 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-08-24 10:29:37 +0000 |
commit | 06fc18fca845264f1f64442c3738c936e3248f50 (patch) | |
tree | f4df2ebaa8a5e7d35029ccf7b574e0ad1705f7d2 | |
parent | 92fe88a3a7318903b1eb377f92bea750d8f66068 (diff) | |
download | rockbox-06fc18fca845264f1f64442c3738c936e3248f50.tar.gz rockbox-06fc18fca845264f1f64442c3738c936e3248f50.zip |
Increase the number of pixels written to the Photo/Color LCD in one go to 0x10000 (was 64000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10730 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-ipod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c index ed2847d665..e65d500654 100644 --- a/firmware/drivers/lcd-ipod.c +++ b/firmware/drivers/lcd-ipod.c | |||
@@ -512,8 +512,8 @@ void lcd_yuv_blit(unsigned char * const src[3], | |||
512 | h = height; | 512 | h = height; |
513 | 513 | ||
514 | /* calculate how much we can do in one go */ | 514 | /* calculate how much we can do in one go */ |
515 | if (pixels_to_write > 64000) { | 515 | if (pixels_to_write > 0x10000) { |
516 | h = (64000/2) / width; | 516 | h = (0x10000/2) / width; |
517 | pixels_to_write = (width * h) * 2; | 517 | pixels_to_write = (width * h) * 2; |
518 | } | 518 | } |
519 | 519 | ||
@@ -709,8 +709,8 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
709 | h = height; | 709 | h = height; |
710 | 710 | ||
711 | /* calculate how much we can do in one go */ | 711 | /* calculate how much we can do in one go */ |
712 | if (pixels_to_write > 64000) { | 712 | if (pixels_to_write > 0x10000) { |
713 | h = (64000/2) / width; | 713 | h = (0x10000/2) / width; |
714 | pixels_to_write = (width * h) * 2; | 714 | pixels_to_write = (width * h) * 2; |
715 | } | 715 | } |
716 | 716 | ||