aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-12-05 18:23:17 -0500
committerLioncash <mathew1800@gmail.com>2022-12-05 18:27:18 -0500
commit7a349e99ee8fef509a3f902fb0c71b3289c7640b (patch)
treed082c473d8b98cdc25a2803531c20c5e849313b9 /src/core/hid/emulated_controller.cpp
parent68d9621a8bb5b0801c4df76cffcd0092f3a197b4 (diff)
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 09f870eb0f..67969e938a 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -424,8 +424,7 @@ void EmulatedController::RestoreConfig() {
ReloadFromSettings();
}
-std::vector<Common::ParamPackage> EmulatedController::GetMappedDevices(
- EmulatedDeviceIndex device_index) const {
+std::vector<Common::ParamPackage> EmulatedController::GetMappedDevices() const {
std::vector<Common::ParamPackage> devices;
for (const auto& param : button_params) {
if (!param.Has("engine")) {