mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
Move some logic to rarch_task_push_content_load_default
This commit is contained in:
parent
3cb26268ee
commit
4d30d931fe
@ -2048,7 +2048,6 @@ static int action_ok_start_core(const char *path,
|
||||
/* No content needed for this core, load core immediately. */
|
||||
if (menu_driver_ctl(RARCH_MENU_CTL_HAS_LOAD_NO_CONTENT, NULL))
|
||||
{
|
||||
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
|
||||
rarch_task_push_content_load_default(NULL, NULL,
|
||||
false, CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_NOTHING_WITH_CURRENT_CORE_FROM_MENU,
|
||||
|
@ -73,6 +73,7 @@ bool rarch_task_push_content_load_default(
|
||||
case CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE:
|
||||
break;
|
||||
case CONTENT_MODE_LOAD_NOTHING_WITH_CURRENT_CORE_FROM_MENU:
|
||||
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
|
||||
break;
|
||||
case CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user