mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
FS#9742 - hopefully the last of these
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19638 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b115ae3f9e
commit
43ffbdb5ab
1 changed files with 7 additions and 3 deletions
|
|
@ -373,6 +373,7 @@ static void roll_credits(void)
|
||||||
|
|
||||||
enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
|
enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
|
||||||
{
|
{
|
||||||
|
long finish;
|
||||||
(void)parameter;
|
(void)parameter;
|
||||||
rb = api;
|
rb = api;
|
||||||
|
|
||||||
|
|
@ -385,7 +386,10 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Show the logo for about 3 secs allowing the user to stop */
|
/* Show the logo for about 3 secs allowing the user to stop */
|
||||||
if(!rb->action_userabort(3*HZ))
|
finish = *rb->current_tick + 3*HZ;
|
||||||
|
while (*rb->current_tick < finish)
|
||||||
|
if(rb->action_userabort(finish - *rb->current_tick))
|
||||||
|
break;
|
||||||
roll_credits();
|
roll_credits();
|
||||||
|
|
||||||
/* Turn on backlight timeout (revert to settings) */
|
/* Turn on backlight timeout (revert to settings) */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue