mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 10:13:51 +00:00
Merge pull request #1763 from heuripedes/master
(history) Write playlist on deinit
This commit is contained in:
commit
4b36170aa5
@ -1245,7 +1245,10 @@ bool event_command(enum event_command cmd)
|
||||
break;
|
||||
case EVENT_CMD_HISTORY_DEINIT:
|
||||
if (g_defaults.history)
|
||||
{
|
||||
content_playlist_write_file(g_defaults.history);
|
||||
content_playlist_free(g_defaults.history);
|
||||
}
|
||||
g_defaults.history = NULL;
|
||||
break;
|
||||
case EVENT_CMD_HISTORY_INIT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user