From a99a60c1d3109b107c4ee5165544a5e9c9fab108 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 8 Aug 2002 17:48:21 +0000 Subject: Added support for next/prev in simulators git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1621 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 565fb5d075..efe7570bff 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -1091,6 +1091,9 @@ void mpeg_next(void) #ifndef SIMULATOR queue_post(&mpeg_queue, MPEG_NEXT, NULL); #else + char* file = playlist_next(1); + mp3info(&taginfo, file); + current_track_counter++; playing = true; #endif } @@ -1100,6 +1103,9 @@ void mpeg_prev(void) #ifndef SIMULATOR queue_post(&mpeg_queue, MPEG_PREV, NULL); #else + char* file = playlist_next(-1); + mp3info(&taginfo, file); + current_track_counter--; playing = true; #endif } -- cgit v1.2.3