forked from len0rd/rockbox
Fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20601 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8580674b10
commit
e64b87ddb5
1 changed files with 8 additions and 0 deletions
|
|
@ -1459,8 +1459,10 @@ static void button_loop(void)
|
|||
rb->lcd_clear_display();
|
||||
rb->lcd_update();
|
||||
|
||||
#if defined(HAVE_LCD_MODES)
|
||||
#if (HAVE_LCD_MODES & LCD_MODE_YUV)
|
||||
rb->lcd_set_mode(LCD_MODE_YUV);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
wvs_init();
|
||||
|
|
@ -1541,8 +1543,10 @@ static void button_loop(void)
|
|||
stream_show_vo(false);
|
||||
wvs_backlight_brightness_video_mode(false);
|
||||
|
||||
#if defined(HAVE_LCD_MODES)
|
||||
#if (HAVE_LCD_MODES & LCD_MODE_YUV)
|
||||
rb->lcd_set_mode(LCD_MODE_RGB565);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
result = mpeg_menu(0);
|
||||
|
|
@ -1557,8 +1561,10 @@ static void button_loop(void)
|
|||
break;
|
||||
|
||||
default:
|
||||
#if defined(HAVE_LCD_MODES)
|
||||
#if (HAVE_LCD_MODES & LCD_MODE_YUV)
|
||||
rb->lcd_set_mode(LCD_MODE_YUV);
|
||||
#endif
|
||||
#endif
|
||||
/* If not stopped, show video again */
|
||||
if (state != STREAM_STOPPED) {
|
||||
|
|
@ -1719,8 +1725,10 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(HAVE_LCD_MODES)
|
||||
#if (HAVE_LCD_MODES & LCD_MODE_YUV)
|
||||
rb->lcd_set_mode(LCD_MODE_RGB565);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
stream_exit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue