diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2003-09-29 21:26:53 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2003-09-29 21:26:53 +0000 |
| commit | de5477cc002ea2a3173f80fc63b8beecc32f602e (patch) | |
| tree | 4f4c5f2ee007d800bf3fea53ed0b3361418b6eaf /apps/main_menu.c | |
| parent | d527849e668e9657bfad191edca04fb85d193ac9 (diff) | |
| download | rockbox-de5477cc002ea2a3173f80fc63b8beecc32f602e.zip rockbox-de5477cc002ea2a3173f80fc63b8beecc32f602e.tar.gz rockbox-de5477cc002ea2a3173f80fc63b8beecc32f602e.tar.bz2 rockbox-de5477cc002ea2a3173f80fc63b8beecc32f602e.tar.xz | |
Brian King's .rockbox browsing patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3964 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
| -rw-r--r-- | apps/main_menu.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index e356603..eb68eb6 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -251,6 +251,16 @@ bool show_info(void) return false; } +static bool firmware_browse(void) +{ + return rockbox_browse(ROCKBOX_DIR, SHOW_MOD); +} + +static bool plugin_browse(void) +{ + return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS); +} + bool main_menu(void) { int m; @@ -273,14 +283,8 @@ bool main_menu(void) #ifdef HAVE_ALARM_MOD { str(LANG_ALARM_MOD_ALARM_MENU), alarm_screen }, #endif -#ifdef HAVE_LCD_BITMAP -#ifdef USE_GAMES - { str(LANG_GAMES), games_menu }, -#endif -#ifdef USE_DEMOS - { str(LANG_DEMOS), demo_menu }, -#endif /* end USE_DEMOS */ -#endif + { str(LANG_PLUGINS), plugin_browse }, + { str(LANG_FIRMWARE), firmware_browse }, { str(LANG_INFO), show_info }, { str(LANG_VERSION), show_credits }, #ifndef SIMULATOR |