Buildfix for --have-menu

This commit is contained in:
twinaphex 2021-10-15 14:43:25 +02:00
parent eb4ed9b2f0
commit b200ced199
3 changed files with 5 additions and 6 deletions

View File

@ -1126,7 +1126,7 @@ int generic_action_ok_displaylist_push(const char *path,
{
content_ctx_info_t content_info = {0};
filebrowser_clear_type();
task_push_load_subsystem_with_core_from_menu(
task_push_load_subsystem_with_core(
NULL, &content_info,
CORE_TYPE_PLAIN, NULL, NULL);
}
@ -2138,7 +2138,7 @@ static int default_action_ok_load_content_with_core_from_menu(const char *_path,
content_info.argv = NULL;
content_info.args = NULL;
content_info.environ_get = NULL;
if (!task_push_load_content_with_core_from_menu(
if (!task_push_load_content_with_core(
_path, &content_info,
(enum rarch_core_type)_type, NULL, NULL))
return -1;
@ -2502,7 +2502,7 @@ static int action_ok_playlist_entry_collection(const char *path,
for (i = 0; i < entry->subsystem_roms->size; i++)
content_add_subsystem(entry->subsystem_roms->elems[i].data);
task_push_load_subsystem_with_core_from_menu(
task_push_load_subsystem_with_core(
NULL, &content_info,
CORE_TYPE_PLAIN, NULL, NULL);
@ -2692,7 +2692,7 @@ static int action_ok_load_cdrom(const char *path,
content_info.args = NULL;
content_info.environ_get = NULL;
task_push_load_content_with_core_from_menu(cdrom_path, &content_info, CORE_TYPE_PLAIN, NULL, NULL);
task_push_load_content_with_core(cdrom_path, &content_info, CORE_TYPE_PLAIN, NULL, NULL);
}
#else
frontend_driver_set_fork(FRONTEND_FORK_CORE_WITH_ARGS);

View File

@ -39,6 +39,7 @@
#include "menu_driver.h"
#include "menu_cbs.h"
#include "../driver.h"
#include "../list_special.h"
#include "../paths.h"
#include "../tasks/task_powerstate.h"
#include "../tasks/tasks_internal.h"

View File

@ -1682,9 +1682,7 @@ bool menu_shader_manager_set_preset(struct video_shader *shader,
ret = true;
end:
#ifdef HAVE_MENU
menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh);
#endif
command_event(CMD_EVENT_SHADER_PRESET_LOADED, NULL);
return ret;