From fdb218f64e2b028d7fd1ddfcd1cce7b008c1106e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 28 May 2016 23:40:58 +0200 Subject: [PATCH] We don't have to call task_load_core for ffmpeg/imageviewer paths --- tasks/task_content.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index aac7f642a0..7c4835e969 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -1800,14 +1800,10 @@ bool task_push_content_load_default( break; case CONTENT_MODE_LOAD_CONTENT_WITH_FFMPEG_CORE_FROM_MENU: runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, (void*)fullpath); - if (!task_load_core(core_path)) - goto error; if (!task_load_content(content_info, true)) goto error; break; case CONTENT_MODE_LOAD_CONTENT_WITH_IMAGEVIEWER_CORE_FROM_MENU: - if (!task_load_core(core_path)) - goto error; runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, (void*)fullpath); if (!task_load_content(content_info, true)) goto error;