mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 00:32:46 +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…
x
Reference in New Issue
Block a user