mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 18:39:55 +00:00
(history) Write playlist on deinit
This commit is contained in:
parent
753a471c81
commit
83897fea1c
@ -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