summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2022-12-05 18:23:17 -0500
committerGravatar Lioncash2022-12-05 18:27:18 -0500
commite4a16f50eff470d9c87a32143e559716171f12b2 (patch)
treed082c473d8b98cdc25a2803531c20c5e849313b9 /src/core/hid/emulated_controller.cpp
parentemulated_controller: Use std::move() in GetMappedDevices() (diff)
downloadyuzu-e4a16f50eff470d9c87a32143e559716171f12b2.tar.gz
yuzu-e4a16f50eff470d9c87a32143e559716171f12b2.tar.xz
yuzu-e4a16f50eff470d9c87a32143e559716171f12b2.zip
emulated_controller: Remove unused parameter in GetMappedDevices()
This isn't used, so it can be removed to make the function a little nicer.
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
-rw-r--r--src/core/hid/emulated_controller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 09f870eb0..67969e938 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -424,8 +424,7 @@ void EmulatedController::RestoreConfig() {
424 ReloadFromSettings(); 424 ReloadFromSettings();
425} 425}
426 426
427std::vector<Common::ParamPackage> EmulatedController::GetMappedDevices( 427std::vector<Common::ParamPackage> EmulatedController::GetMappedDevices() const {
428 EmulatedDeviceIndex device_index) const {
429 std::vector<Common::ParamPackage> devices; 428 std::vector<Common::ParamPackage> devices;
430 for (const auto& param : button_params) { 429 for (const auto& param : button_params) {
431 if (!param.Has("engine")) { 430 if (!param.Has("engine")) {