Merge pull request #7859 from german77/battery_again
input_common: Remove battery duplicated struct and update every button press
This commit is contained in:
commit
8c3f50e6bc
6 changed files with 27 additions and 34 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue