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 --- firmware/include/dircache.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/include/dircache.h') diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 4141254de6..bd7308da68 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h @@ -32,9 +32,14 @@ struct travel_data { struct dircache_entry *first; struct dircache_entry *ce; struct dircache_entry *down_entry; +#ifdef SIMULATOR + DIR *dir, *newdir; + struct dirent *entry; +#else struct fat_dir *dir; struct fat_dir newdir; struct fat_direntry entry; +#endif int pathpos; }; -- cgit v1.2.3