Explorar o código

yuzu: sort input profiles by name

Narr the Reg %!s(int64=3) %!d(string=hai) anos
pai
achega
f711d1ce52
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
 }