diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-17 11:43:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-17 11:43:50 +0100 |
| commit | b7e55e2d52e181b2943a337c8ddc7e6021819935 (patch) | |
| tree | c55774af52802324951f27b5b1eea616303fb95a /Source/Core/InputCommon/ControllerInterface | |
| parent | e62771856092cd9bbc25c8c94c433ed0e55a9f3f (diff) | |
| parent | 43e146a1d5c327d49fdacddb7a5a7e7f0307fab8 (diff) | |
Merge pull request #10368 from Pokechu22/gamelist-lowercase-extension
GameList: Convert file extensions to lowercase
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index fd42b83b88..15da51562d 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -175,7 +175,7 @@ Joystick::Joystick(SDL_Joystick* const joystick, const int sdl_index) // checking the name is probably good (and hacky) enough // but I'll double check with the num of buttons/axes std::string lcasename = GetName(); - std::transform(lcasename.begin(), lcasename.end(), lcasename.begin(), tolower); + Common::ToLower(&lcasename); if ((std::string::npos != lcasename.find("xbox 360")) && (10 == SDL_JoystickNumButtons(joystick)) && (5 == SDL_JoystickNumAxes(joystick)) && |
