summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-09-24 02:28:35 +0200
committerGitHub <noreply@github.com>2022-09-24 02:28:35 +0200
commit5082efef6c09a94a73498be898d658dfc2d5c4a2 (patch)
tree9cd0f3312d49979078f7e1dd63fe333457295efc
parentMerge pull request #8933 from lat9nq/ci-use-apprun-sh (diff)
parentyuzu: sort input profiles by name (diff)
downloadyuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.gz
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.bz2
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.lz
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.xz
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.tar.zst
yuzu-5082efef6c09a94a73498be898d658dfc2d5c4a2.zip
-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() {
profile_names.push_back(profile_name);
}
+ std::stable_sort(profile_names.begin(), profile_names.end());
+
return profile_names;
}