aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/configuration/shared_translation.cpp
diff options
context:
space:
mode:
authorlat9nq <[email protected]>2023-05-07 17:41:30 -0400
committerlat9nq <[email protected]>2023-07-21 10:56:07 -0400
commita4de202cbd5abdf46c48663874e34bdd028b6df5 (patch)
tree13dad1fd40a80e6799fbd9dfc44a093c634ef7f0 /src/yuzu/configuration/shared_translation.cpp
parentcfb63c68dbdc2c8add45cddb2cedf371059af6c4 (diff)
downloadyuzu-android-a4de202cbd5abdf46c48663874e34bdd028b6df5.tar.gz
yuzu-android-a4de202cbd5abdf46c48663874e34bdd028b6df5.zip
settings: Add anisotropy mode enum
Diffstat (limited to 'src/yuzu/configuration/shared_translation.cpp')
-rw-r--r--src/yuzu/configuration/shared_translation.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp
index 181dd7cf0..c20a3ebd9 100644
--- a/src/yuzu/configuration/shared_translation.cpp
+++ b/src/yuzu/configuration/shared_translation.cpp
@@ -132,6 +132,8 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
std::forward_list<QString> ComboboxEnumeration(std::type_index type, QWidget* parent) {
const auto& tr = [&](const char* text) { return parent->tr(text); };
+ // Intentionally skipping VSyncMode to let the UI fill that one out
+
if (type == typeid(Settings::AstcDecodeMode)) {
return {
tr("CPU"),
@@ -199,6 +201,11 @@ std::forward_list<QString> ComboboxEnumeration(std::type_index type, QWidget* pa
tr("FXAA"),
tr("SMAA"),
};
+ } else if (type == typeid(Settings::AspectRatio)) {
+ return {
+ tr("Default (16:9)"), tr("Force 4:3"), tr("Force 21:9"),
+ tr("Force 16:10"), tr("Stretch to Window"),
+ };
} else if (type == typeid(Settings::AnisotropyMode)) {
return {
tr("Automatic"), tr("Default"), tr("2x"), tr("4x"), tr("8x"), tr("16x"),