diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 84160195b7..d3b96c8ef4 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1193,7 +1193,11 @@ static void playlist_thread(void) | |||
1193 | case SYS_TIMEOUT: | 1193 | case SYS_TIMEOUT: |
1194 | playlist = ¤t_playlist; | 1194 | playlist = ¤t_playlist; |
1195 | 1195 | ||
1196 | if (playlist->control_fd >= 0 && ata_disk_is_active()) | 1196 | if (playlist->control_fd >= 0 |
1197 | # ifndef SIMULATOR | ||
1198 | && ata_disk_is_active() | ||
1199 | # endif | ||
1200 | ) | ||
1197 | { | 1201 | { |
1198 | if (playlist->num_cached > 0) | 1202 | if (playlist->num_cached > 0) |
1199 | flush_cached_control(playlist); | 1203 | flush_cached_control(playlist); |