summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
-rw-r--r--src/core/hid/emulated_controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 54c1a2324..54d4ed93d 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:
723 723
724 bool is_charging = false; 724 bool is_charging = false;
725 bool is_powered = false; 725 bool is_powered = false;
726 BatteryLevel battery_level = 0; 726 NpadBatteryLevel battery_level = 0;
727 switch (controller.battery_values[index]) { 727 switch (controller.battery_values[index]) {
728 case Common::Input::BatteryLevel::Charging: 728 case Common::Input::BatteryLevel::Charging:
729 is_charging = true; 729 is_charging = true;