Change invocation of task_content_push
This commit is contained in:
parent
c16cae7ef9
commit
e8eb0ef013
|
@ -2073,7 +2073,7 @@ static int action_ok_start_net_retropad_core(const char *path,
|
||||||
{
|
{
|
||||||
content_ctx_info_t content_info = {0};
|
content_ctx_info_t content_info = {0};
|
||||||
task_push_content_load_default(NULL, NULL,
|
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,
|
CONTENT_MODE_LOAD_NOTHING_WITH_NET_RETROPAD_CORE_FROM_MENU,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
|
|
||||||
|
|
|
@ -1754,7 +1754,6 @@ bool task_push_content_load_default(
|
||||||
core_path = settings->path.libretro; /* TODO/FIXME */
|
core_path = settings->path.libretro; /* TODO/FIXME */
|
||||||
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
|
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
|
||||||
runloop_ctl(RUNLOOP_CTL_SET_LIBRETRO_PATH, (void*)core_path);
|
runloop_ctl(RUNLOOP_CTL_SET_LIBRETRO_PATH, (void*)core_path);
|
||||||
retroarch_set_current_core_type(CORE_TYPE_NET_RETROPAD);
|
|
||||||
#ifdef HAVE_DYNAMIC
|
#ifdef HAVE_DYNAMIC
|
||||||
command_event(CMD_EVENT_LOAD_CORE, NULL);
|
command_event(CMD_EVENT_LOAD_CORE, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue