Fix Emscripten build

This commit is contained in:
twinaphex 2016-11-30 19:21:21 +01:00
parent 99c7d6aeea
commit 3f0a418311

View File

@ -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),
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
0, 0, 0);
#ifdef HAVE_NETWORKING
else
{
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_push = true;