summaryrefslogtreecommitdiffstats
path: root/src/core/hid
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-02-02 19:22:22 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2022-02-02 20:18:06 +0100
commit064aa3de117085ec20bef57ef1d4be76a29a7a57 (patch)
tree9267efe679785b016c7f8df296f68b48c35fb90d /src/core/hid
parentMerge pull request #7833 from lioncash/file-sys (diff)
downloadyuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar
yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.gz
yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.bz2
yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.lz
yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.xz
yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.zst
yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.zip
Diffstat (limited to 'src/core/hid')
-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 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;