summaryrefslogtreecommitdiff
path: root/firmware/common/dircache.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-08-10 13:22:31 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-08-10 13:22:31 +0000
commitc50eef058254cc58946890078d85d92da7d149cf (patch)
treea285fb08fdea3fb27e1eb3097df8dfe41d042488 /firmware/common/dircache.c
parenteb0137fcb516f9b95d0f359fe1327ac7484abc0c (diff)
ok, that was bigger than expected... reduce the max to 12 open dirs as a happy compromise.., If you still have errors rethink your directory layout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18235 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dircache.c')
-rw-r--r--firmware/common/dircache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index 4eb97ce3da..01ed72adc1 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -50,7 +50,7 @@
#define DIRCACHE_STOP 2
#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8)
-#define MAX_OPEN_DIRS 16
+#define MAX_OPEN_DIRS 12
#else
#define MAX_OPEN_DIRS 8
#endif