diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-06-04 13:22:50 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-06-04 13:22:50 +0000 |
commit | e63e84a5dfb18e9b7eca8dabcd2d58ceac342529 (patch) | |
tree | 25989313fa6d7ea9f59ae8bdb1e56fe69f5e1a24 /apps/plugins/imageviewer/jpeg | |
parent | bc26fe7a96d6f5e443003cb871dcb4bfba525352 (diff) | |
download | rockbox-e63e84a5dfb18e9b7eca8dabcd2d58ceac342529.tar.gz rockbox-e63e84a5dfb18e9b7eca8dabcd2d58ceac342529.zip |
Convert some more stuff to mylcd_ and support pgfx as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26543 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/imageviewer/jpeg')
-rw-r--r-- | apps/plugins/imageviewer/jpeg/jpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/jpeg/jpeg.c b/apps/plugins/imageviewer/jpeg/jpeg.c index b16ec1c4b1..95e493e7ee 100644 --- a/apps/plugins/imageviewer/jpeg/jpeg.c +++ b/apps/plugins/imageviewer/jpeg/jpeg.c | |||
@@ -94,7 +94,7 @@ void draw_image_rect(struct image_info *info, | |||
94 | width, height, | 94 | width, height, |
95 | settings.jpeg_colour_mode, settings.jpeg_dither_mode); | 95 | settings.jpeg_colour_mode, settings.jpeg_dither_mode); |
96 | #else | 96 | #else |
97 | MYXLCD(gray_bitmap_part)( | 97 | mylcd_ub_gray_bitmap_part( |
98 | pdisp->bitmap[0], info->x + x, info->y + y, pdisp->stride, | 98 | pdisp->bitmap[0], info->x + x, info->y + y, pdisp->stride, |
99 | x + MAX(0, (LCD_WIDTH-info->width)/2), | 99 | x + MAX(0, (LCD_WIDTH-info->width)/2), |
100 | y + MAX(0, (LCD_HEIGHT-info->height)/2), | 100 | y + MAX(0, (LCD_HEIGHT-info->height)/2), |