diff options
| author | 2022-02-06 18:20:12 -0600 | |
|---|---|---|
| committer | 2022-02-06 18:33:55 -0600 | |
| commit | 21742f00961308fedb35cf38261afba3c1682853 (patch) | |
| tree | a130ab5b3d1a214e546227edf448a14e0be01081 /src/input_common/input_poller.cpp | |
| parent | Merge pull request #7847 from tech-ticks/master (diff) | |
| download | yuzu-21742f00961308fedb35cf38261afba3c1682853.tar.gz yuzu-21742f00961308fedb35cf38261afba3c1682853.tar.xz yuzu-21742f00961308fedb35cf38261afba3c1682853.zip | |
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 2f3c0735a..bcab16d9d 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 { |