From 839dbcaed7ea135dcc0812de76f9ff5c1dc924f5 Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Mon, 4 Jul 2005 22:50:57 +0000 Subject: 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 --- apps/wps.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'apps/wps.c') diff --git a/apps/wps.c b/apps/wps.c index e6d7036..70af303 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -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; } -- cgit v1.1