1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-05 10:13:51 +00:00

Merge pull request from heuripedes/master

(history) Write playlist on deinit
This commit is contained in:
Twinaphex 2015-06-09 23:44:06 +02:00
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: