1
0
Fork 0
forked from len0rd/rockbox

Better simulator mpeg emulation

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3232 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-02-11 14:20:54 +00:00
parent 456715a72c
commit b4902aff71

View file

@ -2794,11 +2794,12 @@ static void mpeg_thread(void)
while ( 1 ) {
if (is_playing) {
id3 = mpeg_current_track();
if (!paused)
id3->elapsed+=1000;
if (id3->elapsed>=id3->length)
mpeg_next();
}
sleep(1);
sleep(HZ);
}
}
#endif