mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
Fix menu refresh in action_ok_network
This commit is contained in:
parent
f11bcfa420
commit
997eae88a0
@ -4833,7 +4833,7 @@ static int generic_action_ok_network(const char *path,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_st->flags &= ~MENU_ST_FLAG_ENTRIES_NONBLOCKING_REFRESH;
|
menu_st->flags |= MENU_ST_FLAG_ENTRIES_NONBLOCKING_REFRESH;
|
||||||
|
|
||||||
generic_action_ok_command(CMD_EVENT_NETWORK_INIT);
|
generic_action_ok_command(CMD_EVENT_NETWORK_INIT);
|
||||||
|
|
||||||
|
@ -12356,8 +12356,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
|||||||
menu_entries_clear(info->list);
|
menu_entries_clear(info->list);
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
count = print_buf_lines(info->list, menu->core_buf, "",
|
count = print_buf_lines(info->list, menu->core_buf, "",
|
||||||
(int)menu->core_len,
|
(int)menu->core_len, FILE_TYPE_DOWNLOAD_CORE_CONTENT,
|
||||||
FILE_TYPE_DOWNLOAD_CORE_CONTENT, true, false);
|
true, false);
|
||||||
|
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
menu_entries_append(info->list,
|
menu_entries_append(info->list,
|
||||||
@ -12432,8 +12432,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DISPLAYLIST_CORE_SYSTEM_FILES:
|
case DISPLAYLIST_CORE_SYSTEM_FILES:
|
||||||
#ifdef HAVE_NETWORKING
|
|
||||||
menu_entries_clear(info->list);
|
menu_entries_clear(info->list);
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
count = print_buf_lines(info->list, menu->core_buf, "",
|
count = print_buf_lines(info->list, menu->core_buf, "",
|
||||||
(int)menu->core_len, FILE_TYPE_DOWNLOAD_CORE_SYSTEM_FILES,
|
(int)menu->core_len, FILE_TYPE_DOWNLOAD_CORE_SYSTEM_FILES,
|
||||||
true, false);
|
true, false);
|
||||||
@ -12535,8 +12535,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
|||||||
| MD_FLAG_NEED_PUSH;
|
| MD_FLAG_NEED_PUSH;
|
||||||
break;
|
break;
|
||||||
case DISPLAYLIST_THUMBNAILS_UPDATER:
|
case DISPLAYLIST_THUMBNAILS_UPDATER:
|
||||||
#ifdef HAVE_NETWORKING
|
|
||||||
menu_entries_clear(info->list);
|
menu_entries_clear(info->list);
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
count = print_buf_lines(info->list, menu->core_buf, "",
|
count = print_buf_lines(info->list, menu->core_buf, "",
|
||||||
(int)menu->core_len, FILE_TYPE_DOWNLOAD_THUMBNAIL_CONTENT,
|
(int)menu->core_len, FILE_TYPE_DOWNLOAD_THUMBNAIL_CONTENT,
|
||||||
true, false);
|
true, false);
|
||||||
@ -12554,8 +12554,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case DISPLAYLIST_PL_THUMBNAILS_UPDATER:
|
case DISPLAYLIST_PL_THUMBNAILS_UPDATER:
|
||||||
#ifdef HAVE_NETWORKING
|
|
||||||
menu_entries_clear(info->list);
|
menu_entries_clear(info->list);
|
||||||
|
#ifdef HAVE_NETWORKING
|
||||||
count = menu_displaylist_parse_pl_thumbnail_download_list(info->list,
|
count = menu_displaylist_parse_pl_thumbnail_download_list(info->list,
|
||||||
settings);
|
settings);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user