1
0
Fork 0
forked from len0rd/rockbox

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:
Eric Linenberg 2002-08-21 17:34:01 +00:00
parent f5a9a72a9b
commit 84cf9d446c

View file

@ -676,7 +676,13 @@ int wps_show(void)
else
#endif
{
mpeg_prev();
if (id3->elapsed < 2*1000)
mpeg_prev();
else {
mpeg_pause();
mpeg_ff_rewind(-(id3->elapsed));
mpeg_resume();
}
}
}
#ifdef HAVE_PLAYER_KEYPAD