Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save LibretroAdmin/a762328c6e1e1e401adb5495053ee286 to your computer and use it in GitHub Desktop.
Save LibretroAdmin/a762328c6e1e1e401adb5495053ee286 to your computer and use it in GitHub Desktop.
diff --git a/menu/menu_driver.c b/menu/menu_driver.c
index 09e93e1e37..0166595342 100644
--- a/menu/menu_driver.c
+++ b/menu/menu_driver.c
@@ -3793,6 +3793,10 @@ bool menu_shader_manager_save_preset_internal(
strlcat(fullname, preset_ext, sizeof(fullname));
}
}
+ else
+ strlcat(fullname,
+ video_shader_get_preset_extension(type),
+ sizeof(fullname));
}
else
snprintf(fullname, sizeof(fullname), "retroarch%s",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment