This commit is contained in:
twinaphex 2019-04-23 21:15:15 +02:00
parent f8881f7cbe
commit b5a7020366
3 changed files with 17 additions and 21 deletions

View File

@ -2458,10 +2458,8 @@ static int generic_action_ok_shader_preset_save(const char *path,
}
break;
case ACTION_OK_SHADER_PRESET_SAVE_PARENT:
{
fill_pathname_parent_dir_name(tmp, path_get(RARCH_PATH_BASENAME), sizeof(tmp));
fill_pathname_join(file, directory, tmp, sizeof(file));
}
break;
}

View File

@ -2167,7 +2167,6 @@ static bool rarch_game_specific_options(char **output)
if (!retroarch_validate_game_options(game_path,
game_path_size, false))
goto error;
if (!config_file_exists(game_path))
goto error;

View File

@ -342,8 +342,9 @@ static void secondary_core_input_poll_null(void) { }
bool secondary_core_run_use_last_input(void)
{
if (secondary_core_ensure_exists())
{
if (!secondary_core_ensure_exists())
return false;
retro_input_poll_t old_poll_function = secondary_callbacks.poll_cb;
retro_input_state_t old_input_function = secondary_callbacks.state_cb;
@ -362,8 +363,6 @@ bool secondary_core_run_use_last_input(void)
secondary_core.retro_set_input_state(secondary_callbacks.state_cb);
return true;
}
return false;
}
bool secondary_core_deserialize(const void *buffer, int size)