diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 4 | ||||
-rw-r--r-- | apps/plugin.h | 4 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/video_out_rockbox.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 6641fe2ee1..c9278c8897 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -463,9 +463,7 @@ static const struct plugin_api rockbox_api = { | |||
463 | lcd_remote_bitmap, | 463 | lcd_remote_bitmap, |
464 | #endif | 464 | #endif |
465 | 465 | ||
466 | #if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ | 466 | #if defined(HAVE_LCD_COLOR) && !defined(SIMULATOR) |
467 | || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) && \ | ||
468 | !defined(SIMULATOR) | ||
469 | lcd_yuv_blit, | 467 | lcd_yuv_blit, |
470 | #endif | 468 | #endif |
471 | 469 | ||
diff --git a/apps/plugin.h b/apps/plugin.h index 9f17fa6480..505e7ec666 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -539,9 +539,7 @@ struct plugin_api { | |||
539 | void (*lcd_remote_bitmap)(const fb_remote_data *src, int x, int y, int width, | 539 | void (*lcd_remote_bitmap)(const fb_remote_data *src, int x, int y, int width, |
540 | int height); | 540 | int height); |
541 | #endif | 541 | #endif |
542 | #if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ | 542 | #if defined(HAVE_LCD_COLOR) && !defined(SIMULATOR) |
543 | || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) && \ | ||
544 | !defined(SIMULATOR) | ||
545 | void (*lcd_yuv_blit)(unsigned char * const src[3], | 543 | void (*lcd_yuv_blit)(unsigned char * const src[3], |
546 | int src_x, int src_y, int stride, | 544 | int src_x, int src_y, int stride, |
547 | int x, int y, int width, int height); | 545 | int x, int y, int width, int height); |
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c index 174921e837..cac5cf3d5c 100644 --- a/apps/plugins/mpegplayer/video_out_rockbox.c +++ b/apps/plugins/mpegplayer/video_out_rockbox.c | |||
@@ -201,7 +201,8 @@ static void rockbox_draw_frame (vo_instance_t * instance, | |||
201 | (void)instance; | 201 | (void)instance; |
202 | 202 | ||
203 | #if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ | 203 | #if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ |
204 | || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) \ | 204 | || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO \ |
205 | || CONFIG_LCD == LCD_X5) \ | ||
205 | && !defined(SIMULATOR) | 206 | && !defined(SIMULATOR) |
206 | rb->lcd_yuv_blit(buf, | 207 | rb->lcd_yuv_blit(buf, |
207 | 0,0,image_width, | 208 | 0,0,image_width, |