summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-01-17 19:43:11 +0100
committerGitHub <noreply@github.com>2022-01-17 19:43:11 +0100
commitcf4893410b94b6a0955f9c7a4551d16add428e04 (patch)
treeab23b83dc1b597c4823246760da73a262b7da90d /src
parentMerge pull request #7727 from v1993/patch-3 (diff)
parenthid: fix std::transform call (diff)
downloadyuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.tar
yuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.tar.gz
yuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.tar.bz2
yuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.tar.lz
yuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.tar.xz
yuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.tar.zst
yuzu-cf4893410b94b6a0955f9c7a4551d16add428e04.zip
Diffstat (limited to 'src')
-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 13edb7332..d12037b11 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -145,7 +145,7 @@ void EmulatedController::LoadDevices() {
motion_devices.begin(), Common::Input::CreateDevice<Common::Input::InputDevice>);
std::transform(trigger_params.begin(), trigger_params.end(), trigger_devices.begin(),
Common::Input::CreateDevice<Common::Input::InputDevice>);
- std::transform(battery_params.begin(), battery_params.begin(), battery_devices.end(),
+ std::transform(battery_params.begin(), battery_params.end(), battery_devices.begin(),
Common::Input::CreateDevice<Common::Input::InputDevice>);
std::transform(output_params.begin(), output_params.end(), output_devices.begin(),
Common::Input::CreateDevice<Common::Input::OutputDevice>);