Indenting nits

This commit is contained in:
twinaphex 2015-09-04 22:49:14 +02:00
parent c0feef5b2f
commit bc2f1fb9fa
1 changed files with 35 additions and 35 deletions

View File

@ -620,59 +620,59 @@ static int generic_action_ok(const char *path,
#elif defined(RARCH_CONSOLE) #elif defined(RARCH_CONSOLE)
/* Core selection on non-console just updates directory listing. /* Core selection on non-console just updates directory listing.
* Will take effect on new content load. */ * Will take effect on new content load. */
ret = -1; ret = -1;
event_command(EVENT_CMD_RESTART_RETROARCH); event_command(EVENT_CMD_RESTART_RETROARCH);
#endif #endif
break; break;
case ACTION_OK_LOAD_CONFIG_FILE: case ACTION_OK_LOAD_CONFIG_FILE:
disp->msg_force = true; disp->msg_force = true;
if (rarch_replace_config(action_path)) if (rarch_replace_config(action_path))
{ {
menu_navigation_clear(nav, false); menu_navigation_clear(nav, false);
ret = -1; ret = -1;
} }
break; break;
#ifdef HAVE_SHADER_MANAGER #ifdef HAVE_SHADER_MANAGER
case ACTION_OK_LOAD_PRESET: case ACTION_OK_LOAD_PRESET:
menu_shader_manager_set_preset(menu->shader, menu_shader_manager_set_preset(menu->shader,
video_shader_parse_type(action_path, RARCH_SHADER_NONE), video_shader_parse_type(action_path, RARCH_SHADER_NONE),
action_path); action_path);
break; break;
#endif #endif
#ifdef HAVE_SHADER_MANAGER #ifdef HAVE_SHADER_MANAGER
case ACTION_OK_LOAD_SHADER_PASS: case ACTION_OK_LOAD_SHADER_PASS:
strlcpy( strlcpy(
menu->shader->pass[hack_shader_pass].source.path, menu->shader->pass[hack_shader_pass].source.path,
action_path, action_path,
sizeof(menu->shader->pass[hack_shader_pass].source.path)); sizeof(menu->shader->pass[hack_shader_pass].source.path));
video_shader_resolve_parameters(NULL, menu->shader); video_shader_resolve_parameters(NULL, menu->shader);
break; break;
#endif #endif
case ACTION_OK_LOAD_RECORD_CONFIGFILE: case ACTION_OK_LOAD_RECORD_CONFIGFILE:
strlcpy(global->record.config, action_path, strlcpy(global->record.config, action_path,
sizeof(global->record.config)); sizeof(global->record.config));
break; break;
case ACTION_OK_LOAD_REMAPPING_FILE: case ACTION_OK_LOAD_REMAPPING_FILE:
input_remapping_load_file(action_path); input_remapping_load_file(action_path);
break; break;
case ACTION_OK_LOAD_CHEAT_FILE: case ACTION_OK_LOAD_CHEAT_FILE:
if (global->cheat) if (global->cheat)
cheat_manager_free(global->cheat); cheat_manager_free(global->cheat);
global->cheat = cheat_manager_load(action_path); global->cheat = cheat_manager_load(action_path);
if (!global->cheat) if (!global->cheat)
goto error; goto error;
break; break;
case ACTION_OK_APPEND_DISK_IMAGE: case ACTION_OK_APPEND_DISK_IMAGE:
event_disk_control_append_image(action_path); event_disk_control_append_image(action_path);
event_command(EVENT_CMD_RESUME); event_command(EVENT_CMD_RESUME);
break; break;
default: default:
break; break;
} }
menu_list_flush_stack(menu_list, flush_char, flush_type); menu_list_flush_stack(menu_list, flush_char, flush_type);