aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-01-17 13:43:11 -0500
committerGitHub <noreply@github.com>2022-01-17 13:43:11 -0500
commit2567283d8607efff96ed61378754b4bc29af59be (patch)
treeab23b83dc1b597c4823246760da73a262b7da90d /src/core/hid/emulated_controller.cpp
parent5d84c5a2a94b03046c23122b6799b651831a82cb (diff)
parent8b3ea1258c51bf66c8b00f5d80ca9f729cc9269a (diff)
Merge pull request #7728 from v1993/patch-4
hid: fix std::transform call
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 13edb7332a..d12037b115 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>);