diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-24 20:42:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 20:42:51 +0100 |
commit | 1079215871cc15452e58aea59630871ea183feeb (patch) | |
tree | ac74f8005fc0f98ebdc3206037a83dc55db5ce1b /src/input_common/input_poller.cpp | |
parent | Merge pull request #7933 from german77/am_update (diff) | |
parent | input_common: Remove battery duplicated struct and update every button press (diff) | |
download | yuzu-1079215871cc15452e58aea59630871ea183feeb.tar yuzu-1079215871cc15452e58aea59630871ea183feeb.tar.gz yuzu-1079215871cc15452e58aea59630871ea183feeb.tar.bz2 yuzu-1079215871cc15452e58aea59630871ea183feeb.tar.lz yuzu-1079215871cc15452e58aea59630871ea183feeb.tar.xz yuzu-1079215871cc15452e58aea59630871ea183feeb.tar.zst yuzu-1079215871cc15452e58aea59630871ea183feeb.zip |
Diffstat (limited to 'src/input_common/input_poller.cpp')
-rw-r--r-- | src/input_common/input_poller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cpp index 7f3c08597..82b585ff2 100644 --- a/src/input_common/input_poller.cpp +++ b/src/input_common/input_poller.cpp @@ -470,7 +470,7 @@ public: } Common::Input::BatteryStatus GetStatus() const { - return static_cast<Common::Input::BatteryLevel>(input_engine->GetBattery(identifier)); + return input_engine->GetBattery(identifier); } void ForceUpdate() override { |