diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-22 22:15:34 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:29 -0600 |
commit | 23bf2e3bb6fe0881e28767e768ad9c0a9f851d57 (patch) | |
tree | 16a462ef05c12d1f5a420886e1b5452fdb999330 /src/core/hid/emulated_controller.cpp | |
parent | e64ee99f00c6d2d884113f79785d4aec9fc05db8 (diff) |
service/hid: Finish converting LIFO objects and address some nits
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
-rw-r--r-- | src/core/hid/emulated_controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp index 54c1a23243..54d4ed93d7 100644 --- a/src/core/hid/emulated_controller.cpp +++ b/src/core/hid/emulated_controller.cpp @@ -723,7 +723,7 @@ void EmulatedController::SetBattery(Common::Input::CallbackStatus callback, std: bool is_charging = false; bool is_powered = false; - BatteryLevel battery_level = 0; + NpadBatteryLevel battery_level = 0; switch (controller.battery_values[index]) { case Common::Input::BatteryLevel::Charging: is_charging = true; |