diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-20 05:28:36 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-20 05:28:36 +0000 |
commit | 8e7f9fe595818939ddd3ce12d946c5d795cbb071 (patch) | |
tree | ca477d7db097258659a2fc5e6ad4dc3ba5de543c /apps/mpeg.c | |
parent | 24b136f62de82d7419751b6aaeae0ad3d8497bea (diff) | |
download | rockbox-8e7f9fe595818939ddd3ce12d946c5d795cbb071.tar.gz rockbox-8e7f9fe595818939ddd3ce12d946c5d795cbb071.zip |
woops, remove that sim code which I forgot to remove from the older versions of the patch... ordinarily I would have just said fix red, but that would have been boring, and because rasher asked so nicley that we stop it, I thought I'd do him the curtosy... this is also part of my on going goal to increase global warming using the Rockbox botnet^H^H^H^H^H^Hbuild system... also, maybe its bed time?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21979 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/mpeg.c')
-rw-r--r-- | apps/mpeg.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c index 5db0272752..e8cc03d014 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c | |||
@@ -2833,19 +2833,6 @@ static void mpeg_thread(void) | |||
2833 | { | 2833 | { |
2834 | id3->elapsed+=1000; | 2834 | id3->elapsed+=1000; |
2835 | id3->offset+=1000; | 2835 | id3->offset+=1000; |
2836 | if (id3->cuesheet) | ||
2837 | { | ||
2838 | struct cuesheet *cue = id3->cuesheet; | ||
2839 | unsigned elapsed = id3->elapsed; | ||
2840 | if (elapsed < cue->curr_track->offset || | ||
2841 | (cue->curr_track_idx < cue->track_count-1 && | ||
2842 | elapsed >= (cue->curr_track+1)->offset)) | ||
2843 | { | ||
2844 | cue_find_current_track(id3->cuesheet, id3->elapsed); | ||
2845 | cue_spoof_id3(id3->cuesheet, id3); | ||
2846 | send_event(PLAYBACK_EVENT_CUESHEET_TRACK_CHANGE, id3); | ||
2847 | } | ||
2848 | } | ||
2849 | } | 2836 | } |
2850 | if (id3->elapsed>=id3->length) | 2837 | if (id3->elapsed>=id3->length) |
2851 | audio_next(); | 2838 | audio_next(); |