(OSX) Buildfix

This commit is contained in:
twinaphex 2016-01-24 07:19:37 +01:00
parent e0ceccc2b2
commit 5cfc9c1830
2 changed files with 3 additions and 6 deletions

View File

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

View File

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