diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 70a8cf469..09afc3cba 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -1563,14 +1563,17 @@ const char* Settings::GetDisplayScreenshotModeDisplayName(DisplayScreenshotMode static constexpr const std::array s_display_screenshot_format_names = { "PNG", "JPEG", + "WebP", }; static constexpr const std::array s_display_screenshot_format_display_names = { TRANSLATE_NOOP("Settings", "PNG"), TRANSLATE_NOOP("Settings", "JPEG"), + TRANSLATE_NOOP("Settings", "WebP"), }; static constexpr const std::array s_display_screenshot_format_extensions = { "png", "jpg", + "webp", }; std::optional Settings::ParseDisplayScreenshotFormat(const char* str) diff --git a/src/core/types.h b/src/core/types.h index a106bbfec..e3d5d337f 100644 --- a/src/core/types.h +++ b/src/core/types.h @@ -181,6 +181,7 @@ enum class DisplayScreenshotFormat : u8 { PNG, JPEG, + WebP, Count };