Merge pull request #7859 from german77/battery_again

input_common: Remove battery duplicated struct and update every button press
This commit is contained in:
bunnei 2022-02-24 11:42:51 -08:00 committed by GitHub
commit 8c3f50e6bc
6 changed files with 27 additions and 34 deletions

View file

@ -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 {