(OSX) Buildfix
This commit is contained in:
parent
e0ceccc2b2
commit
5cfc9c1830
|
@ -413,9 +413,6 @@ int menu_iterate_render(void *data, void *userdata);
|
||||||
**/
|
**/
|
||||||
bool menu_load_content(enum rarch_core_type type);
|
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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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)
|
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);
|
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
|
||||||
ret = menu_common_load_content(NULL, NULL, false, CORE_TYPE_PLAIN);
|
if (rarch_task_push_content_load_default(
|
||||||
if (ret == -1)
|
NULL, NULL, false, CORE_TYPE_PLAIN,
|
||||||
|
NULL, NULL))
|
||||||
action_ok_push_quick_menu();
|
action_ok_push_quick_menu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue