GTK+: Don't save single pass slang as glslp.

This commit is contained in:
Brandon Wright 2019-01-26 12:37:03 -06:00
parent d316da9a5c
commit c1feada6d7
1 changed files with 1 additions and 1 deletions

View File

@ -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";