1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-27 22:46:30 -05:00

input_common: Remove battery duplicated struct and update every button press

This commit is contained in:
german77
2022-02-06 18:20:12 -06:00
parent b720009dc0
commit 21742f0096
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 {