diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-05 02:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-05 02:23:35 +0100 |
commit | 0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49 (patch) | |
tree | acc84dad6f8634649d3856172f2196872c68a1f8 /src/core/hid | |
parent | Merge pull request #7848 from Morph1984/unused-core-include (diff) | |
parent | yuzu: ui: Improve battery symbols (diff) | |
download | yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.gz yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.bz2 yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.lz yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.xz yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.zst yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.zip |
Diffstat (limited to 'src/core/hid')
-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 if (value > 0.8f) { battery = Common::Input::BatteryLevel::Full; } - if (value >= 1.0f) { + if (value >= 0.95f) { battery = Common::Input::BatteryLevel::Charging; } break; |