diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-09 16:01:21 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-09 16:01:21 +0000 |
commit | 20d031f9c70109dae2ea320a4c7264e1e489d8eb (patch) | |
tree | 4459bf0a6cbba8e557b60397acfff6f5be3bda10 /apps/main.c | |
parent | af2b7adefe31839bebbc407083d980a112e7242c (diff) |
Configurable dir browser file buffer size. No more 400-file limit. No more whining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/main.c b/apps/main.c index af85db2243..99f01439f7 100644 --- a/apps/main.c +++ b/apps/main.c @@ -49,6 +49,7 @@ #include "language.h" #include "wps-display.h" #include "playlist.h" +#include "buffer.h" char appsversion[]=APPSVERSION; @@ -65,6 +66,7 @@ void app_main(void) void init(void) { init_threads(); + buffer_init(); lcd_init(); font_init(); show_logo(); @@ -97,6 +99,8 @@ void init(void) system_init(); kernel_init(); + buffer_init(); + settings_reset(); lcd_init(); @@ -165,6 +169,14 @@ void init(void) settings_load(); + status_init(); + usb_start_monitoring(); + power_init(); + playlist_init(); + tree_init(); + + /* This one must be the last one, since it wants the rest of the buffer + space */ mpeg_init( global_settings.volume, global_settings.bass, global_settings.treble, @@ -173,11 +185,6 @@ void init(void) global_settings.bass_boost, global_settings.avc, global_settings.channel_config ); - - status_init(); - usb_start_monitoring(); - power_init(); - playlist_init(); } int main(void) |