mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Cleanups
This commit is contained in:
parent
cb848b9711
commit
01f5d854e3
@ -901,7 +901,7 @@ static int generic_action_ok(const char *path,
|
|||||||
switch (id)
|
switch (id)
|
||||||
{
|
{
|
||||||
case ACTION_OK_LOAD_WALLPAPER:
|
case ACTION_OK_LOAD_WALLPAPER:
|
||||||
flush_type = 49;
|
flush_type = MENU_SETTINGS;
|
||||||
if (path_file_exists(action_path))
|
if (path_file_exists(action_path))
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
@ -986,13 +986,13 @@ static int generic_action_ok(const char *path,
|
|||||||
goto error;
|
goto error;
|
||||||
break;
|
break;
|
||||||
case ACTION_OK_APPEND_DISK_IMAGE:
|
case ACTION_OK_APPEND_DISK_IMAGE:
|
||||||
flush_type = 49;
|
flush_type = MENU_SETTINGS;
|
||||||
command_event(CMD_EVENT_DISK_APPEND_IMAGE, action_path);
|
command_event(CMD_EVENT_DISK_APPEND_IMAGE, action_path);
|
||||||
command_event(CMD_EVENT_RESUME, NULL);
|
command_event(CMD_EVENT_RESUME, NULL);
|
||||||
break;
|
break;
|
||||||
case ACTION_OK_SET_DIRECTORY:
|
case ACTION_OK_SET_DIRECTORY:
|
||||||
case ACTION_OK_SET_PATH:
|
case ACTION_OK_SET_PATH:
|
||||||
flush_type = 49;
|
flush_type = MENU_SETTINGS;
|
||||||
{
|
{
|
||||||
rarch_setting_t *setting = menu_setting_find(menu_label);
|
rarch_setting_t *setting = menu_setting_find(menu_label);
|
||||||
|
|
||||||
@ -2873,12 +2873,6 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
|
|||||||
BIND_ACTION_OK(cbs, action_ok_record_configfile);
|
BIND_ACTION_OK(cbs, action_ok_record_configfile);
|
||||||
break;
|
break;
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
case MENU_LABEL_DOWNLOAD_CORE_CONTENT:
|
|
||||||
BIND_ACTION_OK(cbs, action_ok_core_content_list);
|
|
||||||
break;
|
|
||||||
case MENU_LABEL_CORE_UPDATER_LIST:
|
|
||||||
BIND_ACTION_OK(cbs, action_ok_core_updater_list);
|
|
||||||
break;
|
|
||||||
case MENU_LABEL_UPDATE_LAKKA:
|
case MENU_LABEL_UPDATE_LAKKA:
|
||||||
BIND_ACTION_OK(cbs, action_ok_lakka_list);
|
BIND_ACTION_OK(cbs, action_ok_lakka_list);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user