Use generic_action_ok_file_load
This commit is contained in:
parent
67d98dbbea
commit
e7821f34ee
|
@ -2285,13 +2285,9 @@ static int action_ok_start_core(const char *path,
|
||||||
{
|
{
|
||||||
/* No content needed for this core, load core immediately. */
|
/* No content needed for this core, load core immediately. */
|
||||||
if (menu_driver_ctl(RARCH_MENU_CTL_HAS_LOAD_NO_CONTENT, NULL))
|
if (menu_driver_ctl(RARCH_MENU_CTL_HAS_LOAD_NO_CONTENT, NULL))
|
||||||
{
|
return generic_action_ok_file_load(NULL, NULL, label, type, idx,
|
||||||
content_ctx_info_t content_info = {0};
|
entry_idx, CORE_TYPE_PLAIN,
|
||||||
task_push_content_load_default(NULL, NULL,
|
CONTENT_MODE_LOAD_NOTHING_WITH_CURRENT_CORE_FROM_MENU);
|
||||||
&content_info, CORE_TYPE_PLAIN,
|
|
||||||
CONTENT_MODE_LOAD_NOTHING_WITH_CURRENT_CORE_FROM_MENU,
|
|
||||||
NULL, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue