Shader logging cleanup
This commit is contained in:
parent
9c7203bd6f
commit
366bf083e4
|
@ -427,7 +427,7 @@ static void video_shader_replace_wildcards(char *s, size_t len, char *in_preset_
|
|||
{
|
||||
/* If a file does not exist at the location of the replaced path
|
||||
* then output the original path instead */
|
||||
RARCH_DBG("\n[Shaders]: Filepath after wildcard replacement can't be found:\n");
|
||||
RARCH_DBG("[Shaders]: Filepath after wildcard replacement can't be found:\n");
|
||||
RARCH_DBG(" \"%s\" \n", replaced_path);
|
||||
RARCH_DBG(" Falling back to original Filepath\n");
|
||||
RARCH_DBG(" \"%s\" \n\n", s);
|
||||
|
@ -474,7 +474,7 @@ static void video_shader_gather_reference_path_list(
|
|||
}
|
||||
else
|
||||
{
|
||||
RARCH_WARN("\n[Shaders]: No Preset located at \"%s\".\n", path);
|
||||
RARCH_WARN("[Shaders]: No Preset located at \"%s\".\n", path);
|
||||
}
|
||||
config_file_free(conf);
|
||||
}
|
||||
|
@ -2266,7 +2266,7 @@ bool video_shader_load_preset_into_shader(const char *path,
|
|||
conf = config_file_new_from_path_to_string(path);
|
||||
|
||||
#ifdef DEBUG
|
||||
RARCH_DBG("\n[Shaders]: Crawl preset reference chain..\n");
|
||||
RARCH_DBG("[Shaders]: Crawl preset reference chain..\n");
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -2292,7 +2292,7 @@ bool video_shader_load_preset_into_shader(const char *path,
|
|||
parameter values and texture overrides */
|
||||
if (config_get_entry(tmp_conf, "shaders"))
|
||||
{
|
||||
RARCH_WARN("\n[Shaders]: Additional #reference entries pointing at shader chain presets are not supported: \"%s\".\n", path_to_ref);
|
||||
RARCH_WARN("[Shaders]: Additional #reference entries pointing at shader chain presets are not supported: \"%s\".\n", path_to_ref);
|
||||
config_file_free(tmp_conf);
|
||||
ret = false;
|
||||
goto end;
|
||||
|
@ -2301,7 +2301,7 @@ bool video_shader_load_preset_into_shader(const char *path,
|
|||
}
|
||||
else
|
||||
{
|
||||
RARCH_WARN("\n[Shaders]: Could not load root preset for #reference entry: \"%s\".\n", path_to_ref);
|
||||
RARCH_WARN("[Shaders]: Could not load root preset for #reference entry: \"%s\".\n", path_to_ref);
|
||||
ret = false;
|
||||
goto end;
|
||||
}
|
||||
|
@ -2316,7 +2316,7 @@ bool video_shader_load_preset_into_shader(const char *path,
|
|||
strlcpy(shader->loaded_preset_path, path, sizeof(shader->loaded_preset_path));
|
||||
|
||||
#ifdef DEBUG
|
||||
RARCH_DBG("\n[Shaders]: Start applying simple preset overrides..\n");
|
||||
RARCH_DBG("[Shaders]: Start applying simple preset overrides..\n");
|
||||
#endif
|
||||
|
||||
/* Gather all the paths of all of the presets in all reference chains */
|
||||
|
|
|
@ -6924,9 +6924,6 @@ bool menu_shader_manager_set_preset(struct video_shader *menu_shader,
|
|||
|| !(video_shader_load_preset_into_shader(preset_path, menu_shader)))
|
||||
goto end;
|
||||
|
||||
/* TODO/FIXME - localize */
|
||||
RARCH_LOG("[Shaders]: Menu shader set to: \"%s\".\n", preset_path);
|
||||
|
||||
ret = true;
|
||||
|
||||
end:
|
||||
|
@ -6973,10 +6970,7 @@ bool menu_shader_manager_append_preset(struct video_shader *shader,
|
|||
type, shader, preset_path, dir_video_shader, prepend, true))
|
||||
goto clear;
|
||||
|
||||
/* TODO/FIXME - localize */
|
||||
RARCH_LOG("[Shaders]: Menu shader set to: \"%s\".\n", preset_path);
|
||||
|
||||
ret = true;
|
||||
ret = true;
|
||||
|
||||
menu_st->flags |= MENU_ST_FLAG_ENTRIES_NEED_REFRESH;
|
||||
command_event(CMD_EVENT_SHADER_PRESET_LOADED, NULL);
|
||||
|
|
Loading…
Reference in New Issue