Преглед изворни кода

yuzu: sort input profiles by name

Narr the Reg пре 3 година
родитељ
комит
f711d1ce52
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/yuzu/configuration/input_profiles.cpp

+ 2 - 0
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;
 }