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:
Peter D'Hoye 2007-10-15 19:29:33 +00:00
parent 3a5509a8d7
commit 8714b75d2b

View file

@ -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 */
@ -2333,6 +2321,18 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
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...");
/* seek start time */