mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Fix more C89_BUILD issues
This commit is contained in:
parent
7eedfc8673
commit
e82b75c769
@ -336,7 +336,7 @@ static bool add_active_buffer_ranges(
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO - Try to print name
|
||||
/* TODO - Try to print name */
|
||||
RARCH_ERR("[slang]: Unknown semantic found.\n");
|
||||
return false;
|
||||
}
|
||||
|
@ -1903,16 +1903,9 @@ bool video_shader_write_preset(const char *path,
|
||||
const struct video_shader *shader,
|
||||
bool reference)
|
||||
{
|
||||
/* We need to clean up paths to be able to properly process them
|
||||
* path and shader->loaded_preset_path can use '/' on
|
||||
* Windows due to Qt being Qt */
|
||||
// char preset_dir[PATH_MAX_LENGTH];
|
||||
|
||||
if (!shader || string_is_empty(path))
|
||||
return false;
|
||||
|
||||
// fill_pathname_join(preset_dir, shader_dir, "presets", sizeof(preset_dir));
|
||||
|
||||
/* If we should still save a referenced preset do it now */
|
||||
if (reference)
|
||||
{
|
||||
|
@ -7406,12 +7406,8 @@ bool menu_shader_manager_append_preset(struct video_shader *shader,
|
||||
bool ret = false;
|
||||
settings_t* settings = config_get_ptr();
|
||||
const char *dir_video_shader = settings->paths.directory_video_shader;
|
||||
//struct video_shader* shader = menu_shader_get();
|
||||
enum rarch_shader_type type = menu_shader_manager_get_type(shader);
|
||||
|
||||
//if (!video_shader_apply_shader(settings, type, preset_path, true))
|
||||
// goto clear;
|
||||
|
||||
if (string_is_empty(preset_path))
|
||||
{
|
||||
ret = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user