mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Save the favorites to the disk
This commit is contained in:
parent
b1daf18772
commit
b906da5131
@ -1991,6 +1991,13 @@ bool command_event(enum event_command cmd, void *data)
|
||||
}
|
||||
g_defaults.content_history = NULL;
|
||||
|
||||
if (g_defaults.content_favorites)
|
||||
{
|
||||
playlist_write_file(g_defaults.content_favorites);
|
||||
playlist_free(g_defaults.content_favorites);
|
||||
}
|
||||
g_defaults.content_favorites = NULL;
|
||||
|
||||
if (g_defaults.music_history)
|
||||
{
|
||||
playlist_write_file(g_defaults.music_history);
|
||||
|
Loading…
x
Reference in New Issue
Block a user