diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-28 10:21:32 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-28 10:21:32 +0000 |
| commit | ccfef0480b4e99e910703867e70d6c8a5a00389f (patch) | |
| tree | a63ac7965cf3e73c65645b40f2a5a004085b6feb /apps/wps.c | |
| parent | 7bf657a7db4dfb0ace9ed0722c864516c3cfab45 (diff) | |
| download | rockbox-ccfef0480b4e99e910703867e70d6c8a5a00389f.zip rockbox-ccfef0480b4e99e910703867e70d6c8a5a00389f.tar.gz rockbox-ccfef0480b4e99e910703867e70d6c8a5a00389f.tar.bz2 rockbox-ccfef0480b4e99e910703867e70d6c8a5a00389f.tar.xz | |
First attempt to use the new playlist API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2024 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
| -rw-r--r-- | apps/wps.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -722,7 +722,8 @@ int wps_show(void) if(mpeg_is_playing()) { id3 = mpeg_current_track(); - draw_screen(id3); +// draw_screen(id3); + restore = true; } while ( 1 ) @@ -1216,7 +1217,10 @@ int wps_show(void) } #endif case BUTTON_NONE: /* Timeout */ - if (mpeg_is_playing() && id3) + if(!mpeg_is_playing()) + restore = true; + + if (id3) display_file_time(id3->elapsed, id3->length); /* save resume data */ |