From 3881ce94bd73ecd38855a385dadfdf16564927ca Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Thu, 30 Mar 2006 18:53:44 +0000 Subject: Dircache support for simulator also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9365 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps') 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) case SYS_TIMEOUT: playlist = ¤t_playlist; - if (playlist->control_fd >= 0 && ata_disk_is_active()) + if (playlist->control_fd >= 0 +# ifndef SIMULATOR + && ata_disk_is_active() +# endif + ) { if (playlist->num_cached > 0) flush_cached_control(playlist); -- cgit v1.2.3