diff options
Diffstat (limited to 'apps/codecs/sgc.c')
-rw-r--r-- | apps/codecs/sgc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/sgc.c b/apps/codecs/sgc.c index 2f1f3f88bc..993c606c7e 100644 --- a/apps/codecs/sgc.c +++ b/apps/codecs/sgc.c | |||
@@ -23,7 +23,7 @@ static void set_codec_track(int t) { | |||
23 | Sgc_start_track(&sgc_emu, t); | 23 | Sgc_start_track(&sgc_emu, t); |
24 | 24 | ||
25 | /* for REPEAT_ONE we disable track limits */ | 25 | /* for REPEAT_ONE we disable track limits */ |
26 | if (ci->global_settings->repeat_mode != REPEAT_ONE) { | 26 | if (!ci->loop_track()) { |
27 | Track_set_fade(&sgc_emu, Track_get_length( &sgc_emu, t ), 4000); | 27 | Track_set_fade(&sgc_emu, Track_get_length( &sgc_emu, t ), 4000); |
28 | } | 28 | } |
29 | ci->set_elapsed(t*1000); /* t is track no to display */ | 29 | ci->set_elapsed(t*1000); /* t is track no to display */ |