diff options
Diffstat (limited to 'apps/codecs/gbs.c')
-rw-r--r-- | apps/codecs/gbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/gbs.c b/apps/codecs/gbs.c index 5d3154911b..c9c3420683 100644 --- a/apps/codecs/gbs.c +++ b/apps/codecs/gbs.c | |||
@@ -17,8 +17,8 @@ static struct Gbs_Emu gbs_emu; | |||
17 | static void set_codec_track(int t) { | 17 | static void set_codec_track(int t) { |
18 | Gbs_start_track(&gbs_emu, t); | 18 | Gbs_start_track(&gbs_emu, t); |
19 | 19 | ||
20 | /* for REPEAT_ONE we disable track limits */ | 20 | /* for loop mode we disable track limits */ |
21 | if (ci->global_settings->repeat_mode != REPEAT_ONE) { | 21 | if (!ci->loop_track()) { |
22 | Track_set_fade(&gbs_emu, Track_get_length( &gbs_emu, t ), 4000); | 22 | Track_set_fade(&gbs_emu, Track_get_length( &gbs_emu, t ), 4000); |
23 | } | 23 | } |
24 | ci->set_elapsed(t*1000); /* t is track no to display */ | 24 | ci->set_elapsed(t*1000); /* t is track no to display */ |