diff options
Diffstat (limited to 'apps/codecs/mod.c')
-rw-r--r-- | apps/codecs/mod.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/mod.c b/apps/codecs/mod.c index 3703ecd304..5bd64994f1 100644 --- a/apps/codecs/mod.c +++ b/apps/codecs/mod.c | |||
@@ -1333,12 +1333,11 @@ enum codec_status codec_run(void) | |||
1333 | /* New time is ready in param */ | 1333 | /* New time is ready in param */ |
1334 | modplayer.patterntableposition = param/1000; | 1334 | modplayer.patterntableposition = param/1000; |
1335 | modplayer.currentline = 0; | 1335 | modplayer.currentline = 0; |
1336 | ci->set_elapsed(modplayer.patterntableposition*1000+500); | ||
1337 | ci->seek_complete(); | 1336 | ci->seek_complete(); |
1338 | } | 1337 | } |
1339 | 1338 | ||
1340 | if(old_patterntableposition != modplayer.patterntableposition) { | 1339 | if(old_patterntableposition != modplayer.patterntableposition) { |
1341 | ci->set_elapsed(modplayer.patterntableposition*1000+500); | 1340 | ci->set_elapsed(modplayer.patterntableposition*1000); |
1342 | old_patterntableposition=modplayer.patterntableposition; | 1341 | old_patterntableposition=modplayer.patterntableposition; |
1343 | } | 1342 | } |
1344 | 1343 | ||