mirror of https://github.com/snes9xgit/snes9x.git
GTK+: Don't save single pass slang as glslp.
This commit is contained in:
parent
d316da9a5c
commit
c1feada6d7
|
@ -64,7 +64,7 @@ static void dialog_response (GtkDialog *pdialog, gint response_id, gpointer user
|
||||||
{
|
{
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
std::string config_file = get_config_dir();
|
std::string config_file = get_config_dir();
|
||||||
if (gui_config->shader_filename.find(".slangp") != std::string::npos)
|
if (gui_config->shader_filename.find(".slang") != std::string::npos)
|
||||||
config_file += "/snes9x.slangp";
|
config_file += "/snes9x.slangp";
|
||||||
else
|
else
|
||||||
config_file = get_config_dir() + "/snes9x.glslp";
|
config_file = get_config_dir() + "/snes9x.glslp";
|
||||||
|
|
Loading…
Reference in New Issue