mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(history list/playlists) Push content settings list onto stack
after we load content
This commit is contained in:
parent
e46e2a40c0
commit
5be19770f2
@ -166,6 +166,7 @@ static int action_ok_playlist_entry(const char *path,
|
||||
size_t selection_ptr = 0;
|
||||
content_playlist_t *playlist = g_defaults.history;
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
uint32_t hash_label = menu_hash_calculate(label);
|
||||
|
||||
if (!menu)
|
||||
@ -215,6 +216,19 @@ static int action_ok_playlist_entry(const char *path,
|
||||
|
||||
rarch_playlist_load_content(playlist, selection_ptr);
|
||||
|
||||
switch (hash_label)
|
||||
{
|
||||
case MENU_LABEL_COLLECTION:
|
||||
case MENU_LABEL_RDB_ENTRY_START_CONTENT:
|
||||
menu_list_pop_stack(menu_list);
|
||||
break;
|
||||
default:
|
||||
menu_list_flush_stack(menu_list, NULL, MENU_SETTINGS);
|
||||
break;
|
||||
}
|
||||
|
||||
menu_common_push_content_settings();
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user