Fix Emscripten build
This commit is contained in:
parent
99c7d6aeea
commit
3f0a418311
|
@ -4892,6 +4892,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_NO_SETTINGS_FOUND),
|
msg_hash_to_str(MENU_ENUM_LABEL_NO_SETTINGS_FOUND),
|
||||||
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
|
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
|
||||||
0, 0, 0);
|
0, 0, 0);
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
struct string_list *ssid_list = string_list_new();
|
struct string_list *ssid_list = string_list_new();
|
||||||
|
@ -4921,6 +4922,13 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
menu_entries_append_enum(info->list,
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND),
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_NO_SETTINGS_FOUND),
|
||||||
|
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
|
||||||
|
0, 0, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
info->need_refresh = true;
|
info->need_refresh = true;
|
||||||
info->need_push = true;
|
info->need_push = true;
|
||||||
|
|
Loading…
Reference in New Issue