mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-10 13:18:50 -04:00
settings: Add AspectRatio enum, split res scale function
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user