diff --git a/menu/menu_driver.h b/menu/menu_driver.h index 623e979ddc..79d6a25a53 100644 --- a/menu/menu_driver.h +++ b/menu/menu_driver.h @@ -413,9 +413,6 @@ int menu_iterate_render(void *data, void *userdata); **/ bool menu_load_content(enum rarch_core_type type); -int menu_common_load_content(const char *core_path, const char *full_path, - bool persist, enum rarch_core_type type); - #ifdef __cplusplus } #endif diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index 11a5c3af07..b97308f52e 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -306,10 +306,10 @@ static void open_core_handler(NSOpenPanel *panel, NSInteger result) if (menu_driver_ctl(RARCH_MENU_CTL_HAS_LOAD_NO_CONTENT, NULL) && settings->set_supports_no_game_enable) { - int ret = 0; runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL); - ret = menu_common_load_content(NULL, NULL, false, CORE_TYPE_PLAIN); - if (ret == -1) + if (rarch_task_push_content_load_default( + NULL, NULL, false, CORE_TYPE_PLAIN, + NULL, NULL)) action_ok_push_quick_menu(); } }