diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index abd00f2af7..60dee9b669 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -1091,7 +1091,7 @@ static int generic_action_ok(const char *path, flush_type = MENU_SETTINGS; - if (!task_push_content_load_nothing_with_new_core_from_menu( + if (!task_push_load_new_core( action_path, NULL, &content_info, CORE_TYPE_PLAIN, diff --git a/tasks/task_content.c b/tasks/task_content.c index e6ce6eacbd..532fc9f79d 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -1247,7 +1247,7 @@ error: return false; } -bool task_push_content_load_nothing_with_new_core_from_menu( +bool task_push_load_new_core( const char *core_path, const char *fullpath, content_ctx_info_t *content_info, diff --git a/tasks/task_netplay_find_content.c b/tasks/task_netplay_find_content.c index c58df56a28..47880ab204 100644 --- a/tasks/task_netplay_find_content.c +++ b/tasks/task_netplay_find_content.c @@ -74,12 +74,8 @@ static void netplay_crc_scan_callback(void *task_data, content_ctx_info_t content_info = {0}; command_event(CMD_EVENT_NETPLAY_INIT_DIRECT_DEFERRED, state->hostname); - task_push_content_load_nothing_with_new_core_from_menu( - state->core_path, NULL, - &content_info, - CORE_TYPE_PLAIN, - NULL, NULL); - + task_push_load_new_core(state->core_path, NULL, + &content_info, CORE_TYPE_PLAIN, NULL, NULL); task_push_start_current_core(&content_info); } else diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index e4205edb7d..0c9e333c02 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -138,7 +138,7 @@ bool task_push_decompress( retro_task_callback_t cb, void *user_data); -bool task_push_content_load_nothing_with_new_core_from_menu( +bool task_push_load_new_core( const char *core_path, const char *fullpath, content_ctx_info_t *content_info,