diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-04 18:23:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 18:23:35 -0700 |
commit | 0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49 (patch) | |
tree | acc84dad6f8634649d3856172f2196872c68a1f8 /src/input_common/drivers/sdl_driver.cpp | |
parent | 7ad17ae39719d3dca80ea715e88c66ce7013ccea (diff) | |
parent | 064aa3de117085ec20bef57ef1d4be76a29a7a57 (diff) |
Merge pull request #7839 from german77/battery
yuzu: ui: Improve battery symbols
Diffstat (limited to 'src/input_common/drivers/sdl_driver.cpp')
-rw-r--r-- | src/input_common/drivers/sdl_driver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index 577bf5c315..b031a8523e 100644 --- a/src/input_common/drivers/sdl_driver.cpp +++ b/src/input_common/drivers/sdl_driver.cpp @@ -181,11 +181,10 @@ public: case SDL_JOYSTICK_POWER_EMPTY: return BatteryLevel::Empty; case SDL_JOYSTICK_POWER_LOW: - return BatteryLevel::Critical; - case SDL_JOYSTICK_POWER_MEDIUM: return BatteryLevel::Low; - case SDL_JOYSTICK_POWER_FULL: + case SDL_JOYSTICK_POWER_MEDIUM: return BatteryLevel::Medium; + case SDL_JOYSTICK_POWER_FULL: case SDL_JOYSTICK_POWER_MAX: return BatteryLevel::Full; case SDL_JOYSTICK_POWER_UNKNOWN: |