diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index 8e1afb8b67..1a7f1045f7 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1447,7 +1447,7 @@ bool create_playlist(void) | |||
1447 | return true; | 1447 | return true; |
1448 | } | 1448 | } |
1449 | 1449 | ||
1450 | bool rockbox_browse(const char *root, int dirfilter) | 1450 | bool rockbox_browse(const char *root, int dirfilter, bool hidedirs) |
1451 | { | 1451 | { |
1452 | static struct tree_context backup; | 1452 | static struct tree_context backup; |
1453 | 1453 | ||
@@ -1456,6 +1456,7 @@ bool rockbox_browse(const char *root, int dirfilter) | |||
1456 | memcpy(tc.currdir, root, sizeof(tc.currdir)); | 1456 | memcpy(tc.currdir, root, sizeof(tc.currdir)); |
1457 | start_wps = false; | 1457 | start_wps = false; |
1458 | tc.dirfilter = &dirfilter; | 1458 | tc.dirfilter = &dirfilter; |
1459 | tc.hidedirs = hidedirs; | ||
1459 | 1460 | ||
1460 | dirbrowse(); | 1461 | dirbrowse(); |
1461 | 1462 | ||