mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
Enable LEFT/RIGHT on Load Content (History).
This commit is contained in:
parent
cef086988d
commit
a17788a1f8
@ -1097,7 +1097,7 @@ static int action_toggle_save_state(unsigned type, const char *label,
|
||||
switch (action)
|
||||
{
|
||||
case MENU_ACTION_LEFT:
|
||||
// Slot -1 is (auto) slot.
|
||||
/* Slot -1 is (auto) slot. */
|
||||
if (g_settings.state_slot >= 0)
|
||||
g_settings.state_slot--;
|
||||
break;
|
||||
@ -2754,6 +2754,7 @@ static void menu_entries_cbs_init_bind_toggle(menu_file_list_cbs_t *cbs,
|
||||
case MENU_FILE_AUDIOFILTER:
|
||||
case MENU_FILE_CONFIG:
|
||||
case MENU_FILE_USE_DIRECTORY:
|
||||
case MENU_FILE_PLAYLIST_ENTRY:
|
||||
cbs->action_toggle = action_toggle_scroll;
|
||||
break;
|
||||
case MENU_FILE_CONTENTLIST_ENTRY:
|
||||
|
@ -117,7 +117,7 @@ void *menu_list_get_last_stack_actiondata(const menu_list_t *list)
|
||||
{
|
||||
if (!list)
|
||||
return NULL;
|
||||
return file_list_get_last_actiondata(list->menu_stack);
|
||||
return file_list_get_last_actiondata(list->menu_stack);
|
||||
}
|
||||
|
||||
void menu_list_flush_stack(menu_list_t *list,
|
||||
@ -132,6 +132,7 @@ void menu_list_flush_stack(menu_list_t *list,
|
||||
|
||||
driver.menu->need_refresh = true;
|
||||
file_list_get_last(list->menu_stack, &path, &label, &type);
|
||||
|
||||
while (type != final_type)
|
||||
{
|
||||
menu_list_pop(list->menu_stack, &driver.menu->selection_ptr);
|
||||
@ -151,6 +152,7 @@ void menu_list_flush_stack_by_needle(menu_list_t *list,
|
||||
|
||||
driver.menu->need_refresh = true;
|
||||
file_list_get_last(list->menu_stack, &path, &label, &type);
|
||||
|
||||
while (strcmp(needle, label) != 0)
|
||||
{
|
||||
menu_list_pop(list->menu_stack, &driver.menu->selection_ptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user