Delay boosting and backlight on until after the menu selection is done. Fixes FS #7964. There remains an issue with the movie being loaded before the menu is shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15123 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3a5509a8d7
commit
8714b75d2b
1 changed files with 12 additions and 12 deletions
|
@ -2299,18 +2299,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
rb->lcd_clear_display();
|
||||
rb->lcd_update();
|
||||
|
||||
/* Turn off backlight timeout */
|
||||
backlight_force_on(rb); /* backlight control in lib/helper.c */
|
||||
rb->talk_disable_menus();
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(true);
|
||||
#endif
|
||||
|
||||
/* From this point on we've altered settings, colors, cpu_boost, etc. and
|
||||
cannot just return PLUGIN_ERROR - instead drop though to cleanup code
|
||||
*/
|
||||
|
||||
init_settings((char*)parameter);
|
||||
|
||||
/* Initialise libmad */
|
||||
|
@ -2332,6 +2320,18 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
start_time = 0;
|
||||
else if ( start_time > (end_pts_time-start_pts_time) )
|
||||
start_time = (end_pts_time-start_pts_time);
|
||||
|
||||
/* Turn off backlight timeout */
|
||||
backlight_force_on(rb); /* backlight control in lib/helper.c */
|
||||
rb->talk_disable_menus();
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(true);
|
||||
#endif
|
||||
|
||||
/* From this point on we've altered settings, colors, cpu_boost, etc. and
|
||||
cannot just return PLUGIN_ERROR - instead drop though to cleanup code
|
||||
*/
|
||||
|
||||
rb->splash(0, "Loading...");
|
||||
|
||||
|
|
Loading…
Reference in a new issue