From efaf6e10ee90e1ae860390fa061c0b7d6745120f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 28 May 2016 23:48:32 +0200 Subject: [PATCH] Cleanups --- tasks/task_content.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index 7c4835e969..b70a5573f4 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -1784,17 +1784,12 @@ bool task_push_content_load_default( break; #endif case CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU: - core_path = settings->path.libretro; 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_CURRENT_CORE_FROM_COMPANION_UI: - core_path = settings->path.libretro; runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, (void*)fullpath); - runloop_ctl(RUNLOOP_CTL_SET_LIBRETRO_PATH, (void*)core_path); if (!task_load_content(content_info, true)) goto error; break; @@ -1810,10 +1805,7 @@ bool task_push_content_load_default( break; case CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU: runloop_ctl(RUNLOOP_CTL_SET_CONTENT_PATH, (void*)fullpath); - runloop_ctl(RUNLOOP_CTL_SET_LIBRETRO_PATH, (void*)core_path); #ifdef HAVE_DYNAMIC - if (!task_load_core(core_path)) - goto error; if (!task_load_content(content_info, true)) goto error; #else