summaryrefslogtreecommitdiff
path: root/src/common/settings_enums.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-15 22:41:50 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-15 22:41:50 -0400
commit3e28e85468cafb928cda5dc9210eba95af26e212 (patch)
tree50d3cb165db3d6c89cfaa6562236b114e32f2144 /src/common/settings_enums.h
parentd5adaeafdf0d25f42e4efb0e668625d704324fd9 (diff)
settings: Add AspectRatio enum, split res scale function
Diffstat (limited to 'src/common/settings_enums.h')
-rw-r--r--src/common/settings_enums.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h
index e7cb59ea5..4edfd2bfb 100644
--- a/src/common/settings_enums.h
+++ b/src/common/settings_enums.h
@@ -146,6 +146,8 @@ ENUM(AntiAliasing, None, Fxaa, Smaa, MaxEnum);
ENUM(AspectRatio, R16_9, R4_3, R21_9, R16_10, Stretch);
+ENUM(ScreenshotAspectRatio, Auto, R16_9, R4_3, R21_9, R16_10);
+
template <typename Type>
inline std::string CanonicalizeEnum(Type id) {
const auto group = EnumMetadata<Type>::Canonicalizations();