summaryrefslogtreecommitdiff
path: root/apps/wps.c
diff options
context:
space:
mode:
authorJustin Heiner <jheiner@rockbox.org>2002-09-04 01:51:09 +0000
committerJustin Heiner <jheiner@rockbox.org>2002-09-04 01:51:09 +0000
commitba349223bf8b80d6f52e30bf3dfcdbf030fd0933 (patch)
tree974a145a002a556ce721ad45e54c2a9ec9709914 /apps/wps.c
parent0ad2010865165120a521272eef68d00b6a7b2edc (diff)
downloadrockbox-ba349223bf8b80d6f52e30bf3dfcdbf030fd0933.zip
rockbox-ba349223bf8b80d6f52e30bf3dfcdbf030fd0933.tar.gz
rockbox-ba349223bf8b80d6f52e30bf3dfcdbf030fd0933.tar.bz2
rockbox-ba349223bf8b80d6f52e30bf3dfcdbf030fd0933.tar.xz
wps-display.c
* Made 'Remaining Time' count correctly when doing FF/REW. * Fixed bug in player_progressbar that caused Illegal Instruction if the FF/Play went past the end of the song. wps.c * Removed 'if(lastbutton!=BUTTON_LEFT)' from track changes. It was causing tracks to not change unless button was pressed numerous times quickly :-) * For player, changed BUTTON_STOP to BUTTON_STOP | BUTTON_REL. Since stop is also the key to turn the device off, we don't want it to go to the dir browser unless the stop button is released. settings_menu.c * Changed the minimum disk spindown time to 3 seconds, due to reported problems if set below that. makefile.vc6 * Fixed the VC makefile to work with both Recorder & Player again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/wps.c b/apps/wps.c
index e894cad..1bd2c64 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -887,9 +887,6 @@ int wps_show(void)
/* prev / restart */
case BUTTON_LEFT | BUTTON_REL:
- if ( lastbutton != BUTTON_LEFT )
- break;
-
if (!id3 || (id3->elapsed < 3*1000))
mpeg_prev();
else {
@@ -905,8 +902,6 @@ int wps_show(void)
/* next */
case BUTTON_RIGHT | BUTTON_REL:
- if ( lastbutton != BUTTON_RIGHT )
- break;
mpeg_next();
break;
@@ -941,7 +936,7 @@ int wps_show(void)
#ifdef HAVE_RECORDER_KEYPAD
case BUTTON_OFF:
#else
- case BUTTON_STOP:
+ case BUTTON_STOP | BUTTON_REL:
#endif
#ifdef HAVE_LCD_CHARCELLS
lcd_icon(ICON_RECORD, false);