Change invocation of task_content_push

This commit is contained in:
twinaphex 2016-05-27 19:34:07 +02:00
parent c16cae7ef9
commit e8eb0ef013
2 changed files with 1 additions and 2 deletions

View File

@ -2073,7 +2073,7 @@ static int action_ok_start_net_retropad_core(const char *path,
{
content_ctx_info_t content_info = {0};
task_push_content_load_default(NULL, NULL,
&content_info, CORE_TYPE_PLAIN,
&content_info, CORE_TYPE_NETRETROPAD,
CONTENT_MODE_LOAD_NOTHING_WITH_NET_RETROPAD_CORE_FROM_MENU,
NULL, NULL);

View File

@ -1754,7 +1754,6 @@ bool task_push_content_load_default(
core_path = settings->path.libretro; /* TODO/FIXME */
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
runloop_ctl(RUNLOOP_CTL_SET_LIBRETRO_PATH, (void*)core_path);
retroarch_set_current_core_type(CORE_TYPE_NET_RETROPAD);
#ifdef HAVE_DYNAMIC
command_event(CMD_EVENT_LOAD_CORE, NULL);
#endif