forked from len0rd/rockbox
Fix: Skipping to previous/next track via remote works again. WPS_RC_(PREV|NEXT) must not depend on WPS_(PREV|NEXT)_PRE
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5336 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9d4271eb3d
commit
ce82d8b8c8
1 changed files with 6 additions and 6 deletions
12
apps/wps.c
12
apps/wps.c
|
@ -618,13 +618,13 @@ int wps_show(void)
|
|||
break;
|
||||
|
||||
/* prev / restart */
|
||||
#ifdef WPS_RC_PREV
|
||||
case WPS_RC_PREV:
|
||||
#endif
|
||||
case WPS_PREV:
|
||||
#ifdef WPS_PREV_PRE
|
||||
if (lastbutton != WPS_PREV_PRE)
|
||||
break;
|
||||
#endif
|
||||
#ifdef WPS_RC_PREV
|
||||
case WPS_RC_PREV:
|
||||
#endif
|
||||
if (!id3 || (id3->elapsed < 3*1000)) {
|
||||
mpeg_prev();
|
||||
|
@ -641,13 +641,13 @@ int wps_show(void)
|
|||
break;
|
||||
|
||||
/* next */
|
||||
#ifdef WPS_RC_NEXT
|
||||
case WPS_RC_NEXT:
|
||||
#endif
|
||||
case WPS_NEXT:
|
||||
#ifdef WPS_NEXT_PRE
|
||||
if (lastbutton != WPS_NEXT_PRE)
|
||||
break;
|
||||
#endif
|
||||
#ifdef WPS_RC_NEXT
|
||||
case WPS_RC_NEXT:
|
||||
#endif
|
||||
mpeg_next();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue