mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-12 05:40:36 +00:00
Merge pull request #1772 from heuripedes/master
Stop reloading the playlist in action_ok_core_deferred_set()
This commit is contained in:
commit
f9d11eb343
@ -856,10 +856,7 @@ static int action_ok_core_deferred_set(const char *path,
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
if (menu->playlist)
|
||||
content_playlist_free(menu->playlist);
|
||||
|
||||
menu->playlist = content_playlist_init(menu->db_playlist_file, 1000);
|
||||
rarch_assert(menu->playlist != NULL);
|
||||
|
||||
core_info_get_name(path, core_display_name, sizeof(core_display_name));
|
||||
|
||||
@ -872,8 +869,6 @@ static int action_ok_core_deferred_set(const char *path,
|
||||
menu->playlist->entries[idx].db_name);
|
||||
|
||||
content_playlist_write_file(menu->playlist);
|
||||
content_playlist_free(menu->playlist);
|
||||
menu->playlist = NULL;
|
||||
|
||||
menu_list_pop_stack(menu->menu_list);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user