summaryrefslogtreecommitdiff
path: root/apps/recorder/albumart.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-09-04 00:46:24 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-09-04 00:46:24 +0000
commit25123570c76f2055d3ae05d79741038c0e23c536 (patch)
treea2edd8351a611b9cef0aef08c880a994d9e1d75e /apps/recorder/albumart.c
parentf6025186fd1f6d9083c07568bc3d160f3e8774f8 (diff)
downloadrockbox-25123570c76f2055d3ae05d79741038c0e23c536.tar.gz
rockbox-25123570c76f2055d3ae05d79741038c0e23c536.zip
Fix STRIDE macro for multiscreen and add stride support for picture lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/albumart.c')
-rw-r--r--apps/recorder/albumart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index 4507923144..438c173211 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -351,7 +351,9 @@ void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear)
351 if (!clear) 351 if (!clear)
352 { 352 {
353 /* Draw the bitmap */ 353 /* Draw the bitmap */
354 gwps->display->bitmap_part((fb_data*)bmp->data, 0, 0, bmp->width, 354 gwps->display->bitmap_part((fb_data*)bmp->data, 0, 0,
355 STRIDE(gwps->display->screen_type,
356 bmp->width, bmp->height),
355 x, y, width, height); 357 x, y, width, height);
356#ifdef HAVE_LCD_INVERT 358#ifdef HAVE_LCD_INVERT
357 if (global_settings.invert) { 359 if (global_settings.invert) {