Use generic_action_ok_file_load

This commit is contained in:
twinaphex 2016-06-20 19:55:59 +02:00
parent 67d98dbbea
commit e7821f34ee
1 changed files with 3 additions and 7 deletions

View File

@ -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;
} }