diff options
| author | 2022-02-24 11:42:51 -0800 | |
|---|---|---|
| committer | 2022-02-24 11:42:51 -0800 | |
| 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.gz yuzu-1079215871cc15452e58aea59630871ea183feeb.tar.xz yuzu-1079215871cc15452e58aea59630871ea183feeb.zip | |
Merge pull request #7859 from german77/battery_again
input_common: Remove battery duplicated struct and update every button press
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: | |||
| 470 | } | 470 | } |
| 471 | 471 | ||
| 472 | Common::Input::BatteryStatus GetStatus() const { | 472 | Common::Input::BatteryStatus GetStatus() const { |
| 473 | return static_cast<Common::Input::BatteryLevel>(input_engine->GetBattery(identifier)); | 473 | return input_engine->GetBattery(identifier); |
| 474 | } | 474 | } |
| 475 | 475 | ||
| 476 | void ForceUpdate() override { | 476 | void ForceUpdate() override { |