diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-09-23 12:31:35 -0500 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-09-23 12:31:35 -0500 |
commit | f711d1ce527f4dba651bd70ca284635b6467a1ca (patch) | |
tree | c1e23b927cdf1158397e9edc16a132fed800a541 /src | |
parent | 70abb13a434a5089bce284433c6df19b46ff27d2 (diff) |
yuzu: sort input profiles by name
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/configuration/input_profiles.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/configuration/input_profiles.cpp b/src/yuzu/configuration/input_profiles.cpp index 807afbeb25..9bb69cab10 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; } |