forked from len0rd/rockbox
Don't (partially) apply changes to max entries in the file browser immediately. The setting affects a buffer that is allocated during boot, so code using that buffer should use the value that was in effect during boot. Add a note to the manual that a reboot is needed for the changes to be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29798 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
16e793f5d1
commit
ed2cfb8c1d
5 changed files with 12 additions and 14 deletions
|
|
@ -285,7 +285,7 @@ int ft_load(struct tree_context* c, const char* tempdir)
|
|||
c->dirsindir = 0;
|
||||
c->dirfull = false;
|
||||
|
||||
for ( i=0; i < global_settings.max_files_in_dir; i++ ) {
|
||||
for ( i=0; i < c->dircache_count; i++ ) {
|
||||
int len;
|
||||
struct dirent *entry = readdir(dir);
|
||||
struct dirinfo info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue