summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-03-30 18:53:44 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-03-30 18:53:44 +0000
commit3881ce94bd73ecd38855a385dadfdf16564927ca (patch)
treeabe97e68d89984d80065c85de63585996486abe0 /firmware/include
parentdc8de7ea3d1305f09323abbea9d24b1d1bb1c5cd (diff)
Dircache support for simulator also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9365 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/dircache.h5
1 files changed, 5 insertions, 0 deletions
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;
};