summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/albumart.c4
-rw-r--r--apps/recorder/bmp.c1
2 files changed, 4 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) {
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 9f83748a82..b67615b840 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -425,6 +425,7 @@ void output_row_8_native(uint32_t row, void * row_in,
425#elif LCD_DEPTH == 16 425#elif LCD_DEPTH == 16
426#if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE 426#if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE
427 /* M:Robe 500 */ 427 /* M:Robe 500 */
428 (void) fb_width;
428 fb_data *dest = (fb_data *)ctx->bm->data + row; 429 fb_data *dest = (fb_data *)ctx->bm->data + row;
429 int delta = 127; 430 int delta = 127;
430 unsigned r, g, b; 431 unsigned r, g, b;