diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2005-07-04 22:50:57 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2005-07-04 22:50:57 +0000 |
| commit | 839dbcaed7ea135dcc0812de76f9ff5c1dc924f5 (patch) | |
| tree | 2a9ea28b5da29ff2749f0b4bb3be059eafc98fa4 /apps/wps.c | |
| parent | 3fd775b7d15c9c5133c68ba45caf8bfc78cadfa1 (diff) | |
| download | rockbox-839dbcaed7ea135dcc0812de76f9ff5c1dc924f5.zip rockbox-839dbcaed7ea135dcc0812de76f9ff5c1dc924f5.tar.gz rockbox-839dbcaed7ea135dcc0812de76f9ff5c1dc924f5.tar.bz2 rockbox-839dbcaed7ea135dcc0812de76f9ff5c1dc924f5.tar.xz | |
Moved resume info updating to the mpeg/playback threads so that it's saved even when not in the WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7018 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
| -rw-r--r-- | apps/wps.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -250,22 +250,6 @@ static bool update(void) status_draw(false); - /* save resume data */ - if ( id3 && - (global_settings.resume_offset != id3->offset || track_changed)) { - - if (!playlist_get_resume_info(&global_settings.resume_index)) - { - global_settings.resume_offset = id3->offset; - settings_save(); - } - } - else if ( !id3 && track_changed ) { - global_settings.resume_index = -1; - global_settings.resume_offset = -1; - settings_save(); - } - return retcode; } |