diff options
Diffstat (limited to 'apps/codecs/hes.c')
-rw-r--r-- | apps/codecs/hes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/hes.c b/apps/codecs/hes.c index 8c216ed060..c84134c01b 100644 --- a/apps/codecs/hes.c +++ b/apps/codecs/hes.c | |||
@@ -17,8 +17,8 @@ static struct Hes_Emu hes_emu; | |||
17 | static void set_codec_track(int t) { | 17 | static void set_codec_track(int t) { |
18 | Hes_start_track(&hes_emu, t); | 18 | Hes_start_track(&hes_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(&hes_emu, Track_get_length( &hes_emu, t ), 4000); | 22 | Track_set_fade(&hes_emu, Track_get_length( &hes_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 */ |