diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-23 05:15:34 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:29 +0100 |
commit | 23bf2e3bb6fe0881e28767e768ad9c0a9f851d57 (patch) | |
tree | 16a462ef05c12d1f5a420886e1b5452fdb999330 /src/core/hid/emulated_controller.cpp | |
parent | yuzu: Fix TAS from rebase (diff) | |
download | yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.gz yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.bz2 yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.lz yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.xz yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.tar.zst yuzu-23bf2e3bb6fe0881e28767e768ad9c0a9f851d57.zip |
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: 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; |