forked from len0rd/rockbox
Fix multidrive/multivolume hosted builds.
Generalize the fix in2348779ae6
to apply to hosted as well as simulator builds. Original regression introduced inc0ac043c6d
Change-Id: Ia786533cc318555e3bb842eb21a73a1f76888379
This commit is contained in:
parent
e94f778f1c
commit
13830439fa
2 changed files with 9 additions and 6 deletions
|
@ -131,6 +131,12 @@
|
|||
#define MAIN_NORETURN_ATTR
|
||||
#endif
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
#include "pathfuncs.h" /* for init_volume_names */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
|
||||
#ifdef SIMULATOR
|
||||
#include "sim_tasks.h"
|
||||
|
@ -381,6 +387,9 @@ static void init(void)
|
|||
powermgmt_init();
|
||||
backlight_init();
|
||||
unicode_init();
|
||||
#ifdef HAVE_MULTIVOLUME
|
||||
init_volume_names();
|
||||
#endif
|
||||
#ifdef SIMULATOR
|
||||
sim_tasks_init();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue