summaryrefslogtreecommitdiff
path: root/apps/codecs/nsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/nsf.c')
-rw-r--r--apps/codecs/nsf.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/codecs/nsf.c b/apps/codecs/nsf.c
index f596f9dc68..2f37da81d2 100644
--- a/apps/codecs/nsf.c
+++ b/apps/codecs/nsf.c
@@ -4344,9 +4344,9 @@ next_track:
4344 4344
4345 4345
4346 /* wait for track info to load */ 4346 /* wait for track info to load */
4347 while (!*ci->taginfo_ready && !ci->stop_codec) 4347 if (codec_wait_taginfo() != 0)
4348 ci->sleep(1); 4348 goto request_next_track;
4349 4349
4350 codec_set_replaygain(ci->id3); 4350 codec_set_replaygain(ci->id3);
4351 4351
4352 /* Read the entire file */ 4352 /* Read the entire file */
@@ -4448,7 +4448,8 @@ init_nsf:
4448 } 4448 }
4449 4449
4450 print_timers(last_path,track); 4450 print_timers(last_path,track);
4451 4451
4452request_next_track:
4452 if (ci->request_next_track()) { 4453 if (ci->request_next_track()) {
4453 if (ci->global_settings->repeat_mode==REPEAT_ONE) { 4454 if (ci->global_settings->repeat_mode==REPEAT_ONE) {
4454 /* in repeat one mode just advance to the next track */ 4455 /* in repeat one mode just advance to the next track */