mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-27 07:46:24 -04:00
Lee Marlow's patch to restart the same song if the back button is hit in the wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1895 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f5a9a72a9b
commit
84cf9d446c
1 changed files with 7 additions and 1 deletions
|
|
@ -676,7 +676,13 @@ int wps_show(void)
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
mpeg_prev();
|
if (id3->elapsed < 2*1000)
|
||||||
|
mpeg_prev();
|
||||||
|
else {
|
||||||
|
mpeg_pause();
|
||||||
|
mpeg_ff_rewind(-(id3->elapsed));
|
||||||
|
mpeg_resume();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef HAVE_PLAYER_KEYPAD
|
#ifdef HAVE_PLAYER_KEYPAD
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue