summaryrefslogtreecommitdiffstats
path: root/apps/main.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-12-12 10:45:34 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-12-12 10:45:34 +0000
commit6581146eb110b5b19e1492a1912379ba2eb9b49d (patch)
tree3fe4d1fbe43ebf435ccf2ad45f57f248f82afeae /apps/main.c
parent972b2dbcab9aa5cf24dcc51d8a5744306f6248a9 (diff)
downloadrockbox-6581146eb110b5b19e1492a1912379ba2eb9b49d.tar.gz
rockbox-6581146eb110b5b19e1492a1912379ba2eb9b49d.zip
Fix dircache not saving the last size (Caused the Scanning disk splash
to show every bot). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11734 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 1d590286e2..a107d1cdd0 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -161,8 +161,9 @@ int init_dircache(bool preinit)
{
backlight_on();
show_logo();
- settings_save();
}
+ global_settings.dircache_size = dircache_get_cache_size();
+ settings_save();
}
return result;