diff options
| author | 2021-11-22 22:15:34 -0600 | |
|---|---|---|
| committer | 2021-11-24 20:30:29 -0600 | |
| commit | 23bf2e3bb6fe0881e28767e768ad9c0a9f851d57 (patch) | |
| tree | 16a462ef05c12d1f5a420886e1b5452fdb999330 /src/core/hid/emulated_controller.cpp | |
| parent | yuzu: Fix TAS from rebase (diff) | |
| download | yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.gz yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.xz yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.zip | |
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 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; |