Moved Ondio main menu hack in order to properly browse fonts, langs, rocks and .wps files. This does only work after filetype_init()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5151 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-10-02 12:10:16 +00:00
parent e26f01b80e
commit fb56ee6113
2 changed files with 7 additions and 7 deletions

View file

@ -258,13 +258,6 @@ void init(void)
} }
} }
#endif /* #ifdef AUTOROCK */ #endif /* #ifdef AUTOROCK */
/* temporary hack for Ondio */
#ifdef HAVE_MMC
main_menu(); /* show the main menu once, since it is not yet callable
* from the browser. The button handling needs a fix. */
#endif
/* end of Ondio hack */
} }
int main(void) int main(void)

View file

@ -140,6 +140,13 @@ void browse_root(void)
filetype_init(); filetype_init();
check_rockboxdir(); check_rockboxdir();
/* temporary hack for Ondio */
#ifdef HAVE_MMC
main_menu(); /* show the main menu once, since it is not yet callable
* from the browser. The button handling needs a fix. */
#endif
/* end of Ondio hack */
#ifndef SIMULATOR #ifndef SIMULATOR
dirbrowse("/", &global_settings.dirfilter); dirbrowse("/", &global_settings.dirfilter);