mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-05 02:58:04 +00:00
(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);
|
||||
|
||||
int menu_common_load_content(const char *core_path, const char *full_path,
|
||||
bool persist, enum rarch_core_type type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#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)
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user