aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-02-02 12:22:22 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2022-02-02 13:18:06 -0600
commit064aa3de117085ec20bef57ef1d4be76a29a7a57 (patch)
tree9267efe679785b016c7f8df296f68b48c35fb90d /src/core/hid/input_converter.cpp
parent79e8f4abe81b3599104ae91401d11a07c2eff208 (diff)
yuzu: ui: Improve battery symbols
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index 860aab4002..cd41607a7e 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;