mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 06:37:58 -05:00
Address review comments
This commit is contained in:
@ -316,7 +316,7 @@ void Joycons::OnBatteryUpdate(std::size_t port, Joycon::ControllerType type,
|
||||
return;
|
||||
}
|
||||
|
||||
Common::Input::BatteryLevel battery{value.status.Value()};
|
||||
Common::Input::BatteryLevel battery{};
|
||||
switch (value.status) {
|
||||
case 0:
|
||||
battery = Common::Input::BatteryLevel::Empty;
|
||||
|
Reference in New Issue
Block a user