diff options
| author | 2022-02-02 12:22:22 -0600 | |
|---|---|---|
| committer | 2022-02-02 13:18:06 -0600 | |
| commit | 064aa3de117085ec20bef57ef1d4be76a29a7a57 (patch) | |
| tree | 9267efe679785b016c7f8df296f68b48c35fb90d /src/core/hid/input_converter.cpp | |
| parent | Merge pull request #7833 from lioncash/file-sys (diff) | |
| download | yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.gz yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.xz yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.zip | |
yuzu: ui: Improve battery symbols
Diffstat (limited to 'src/core/hid/input_converter.cpp')
| -rw-r--r-- | src/core/hid/input_converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp index 860aab400..cd41607a7 100644 --- a/src/core/hid/input_converter.cpp +++ b/src/core/hid/input_converter.cpp | |||
| @@ -28,7 +28,7 @@ Common::Input::BatteryStatus TransformToBattery(const Common::Input::CallbackSta | |||
| 28 | if (value > 0.8f) { | 28 | if (value > 0.8f) { |
| 29 | battery = Common::Input::BatteryLevel::Full; | 29 | battery = Common::Input::BatteryLevel::Full; |
| 30 | } | 30 | } |
| 31 | if (value >= 1.0f) { | 31 | if (value >= 0.95f) { |
| 32 | battery = Common::Input::BatteryLevel::Charging; | 32 | battery = Common::Input::BatteryLevel::Charging; |
| 33 | } | 33 | } |
| 34 | break; | 34 | break; |