mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
(Wifi) show 'no settings' found when selecting wifi settings
if null driver is selected
This commit is contained in:
parent
7dc297edfc
commit
9b93f1b520
@ -4664,6 +4664,13 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
info->need_push = true;
|
||||
break;
|
||||
case DISPLAYLIST_WIFI_SETTINGS_LIST:
|
||||
if (string_is_equal(settings->wifi.driver, "null"))
|
||||
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);
|
||||
else
|
||||
{
|
||||
unsigned i;
|
||||
struct string_list *ssid_list = string_list_new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user