(Add Content List) Add default 'no entries' if networking and libretrodb support
are both not available
This commit is contained in:
parent
64fd8e75d5
commit
eee39ccf8a
|
@ -2901,6 +2901,14 @@ static int menu_displaylist_parse_add_content_list(
|
|||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_NETWORKING) && !defined(HAVE_LIBRETRODB)
|
||||
menu_entries_append_enum(list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_ENTRIES_TO_DISPLAY),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_NO_ENTRIES_TO_DISPLAY),
|
||||
MENU_ENUM_LABEL_NO_ENTRIES_TO_DISPLAY,
|
||||
FILE_TYPE_NONE, 0, 0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue