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 | 7241fc17ae56ea1695af5c5a6e54941f5251320d (patch) | |
| tree | c1e23b927cdf1158397e9edc16a132fed800a541 /src/yuzu/configuration/input_profiles.cpp | |
| parent | 2f957dba1e005a5d4a85a321141711709a198228 (diff) | |
yuzu: sort input profiles by name
Diffstat (limited to 'src/yuzu/configuration/input_profiles.cpp')
| -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; } |
