mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Restore -Wenum-compare and fix some [=] warnings
This commit is contained in:
parent
0ee2f761ae
commit
8a176de6a1
5 changed files with 7 additions and 8 deletions
|
|
@ -292,7 +292,7 @@ void evdev_joystick_handler::get_next_button_press(const std::string& padId, con
|
|||
|
||||
auto data = GetButtonValues(device);
|
||||
|
||||
auto find_value = [=](const std::string& name)
|
||||
auto find_value = [=, this](const std::string& name)
|
||||
{
|
||||
int key = FindKeyCodeByString(rev_axis_list, name, false);
|
||||
bool dir = key >= 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue