Fix a bunch of random warnings
This commit is contained in:
parent
ccaff2e7cd
commit
3847be86b0
13 changed files with 62 additions and 277 deletions
|
|
@ -1048,7 +1048,7 @@ void CommonHostInterface::UpdateControllerInputMap(SettingsInterface& si)
|
|||
if (!SplitBinding(binding, &device, &button))
|
||||
continue;
|
||||
|
||||
AddButtonToInputMap(binding, device, button, [this, controller_index, button_code](bool pressed) {
|
||||
AddButtonToInputMap(binding, device, button, [controller_index, button_code](bool pressed) {
|
||||
if (System::IsShutdown())
|
||||
return;
|
||||
|
||||
|
|
@ -1074,7 +1074,7 @@ void CommonHostInterface::UpdateControllerInputMap(SettingsInterface& si)
|
|||
if (!SplitBinding(binding, &device, &axis))
|
||||
continue;
|
||||
|
||||
AddAxisToInputMap(binding, device, axis, axis_type, [this, controller_index, axis_code](float value) {
|
||||
AddAxisToInputMap(binding, device, axis, axis_type, [controller_index, axis_code](float value) {
|
||||
if (System::IsShutdown())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue