mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
(Menu) Before we do cbs->refresh, reset 'cbs' - could have become
invalid
This commit is contained in:
parent
2196e734d3
commit
b826305e3c
@ -425,6 +425,8 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
||||
break;
|
||||
}
|
||||
|
||||
cbs = menu_list_get_actiondata_at_offset(menu_list->selection_buf, i);
|
||||
|
||||
if (menu_entries_needs_refresh())
|
||||
{
|
||||
if (cbs && cbs->action_refresh)
|
||||
|
Loading…
Reference in New Issue
Block a user