From 02f1de920af5f446db116aea0edc94c0a0f1f6bf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 22 Dec 2016 02:42:22 +0100 Subject: [PATCH] If we load a ROM from the commandline, it will still get pushed to the history list --- tasks/task_content.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/task_content.c b/tasks/task_content.c index 32f16f76c8..2201c55fad 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -880,6 +880,12 @@ static bool task_load_content(content_ctx_info_t *content_info, break; } + if (mode == CONTENT_MODE_LOAD_FROM_CLI) + { + settings_t *settings = config_get_ptr(); + content_ctx->history_list_enable = settings->history_list_enable; + } + if ( content_ctx->history_list_enable && playlist_tmp