1
0
Fork 0
forked from len0rd/rockbox

Brian King's .rockbox browsing patch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3964 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-09-29 21:26:53 +00:00
parent d527849e66
commit de5477cc00
7 changed files with 156 additions and 58 deletions

View file

@ -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