summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2022-09-23 20:28:35 -0400
committerGravatar GitHub2022-09-23 20:28:35 -0400
commit5082efef6c09a94a73498be898d658dfc2d5c4a2 (patch)
tree9cd0f3312d49979078f7e1dd63fe333457295efc
parentMerge pull request #8933 from lat9nq/ci-use-apprun-sh (diff)
parentyuzu: sort input profiles by name (diff)
downloadyuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.gz
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.xz
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.zip
Merge pull request #8948 from german77/order
yuzu: sort input profiles by name
Diffstat (limited to '')
-rw-r--r--src/yuzu/configuration/input_profiles.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/configuration/input_profiles.cpp b/src/yuzu/configuration/input_profiles.cpp
index 807afbeb2..9bb69cab1 100644
--- a/src/yuzu/configuration/input_profiles.cpp
+++ b/src/yuzu/configuration/input_profiles.cpp
@@ -67,6 +67,8 @@ std::vector<std::string> InputProfiles::GetInputProfileNames() {
67 profile_names.push_back(profile_name); 67 profile_names.push_back(profile_name);
68 } 68 }
69 69
70 std::stable_sort(profile_names.begin(), profile_names.end());
71
70 return profile_names; 72 return profile_names;
71} 73}
72 74