mirror of https://github.com/snes9xgit/snes9x.git
GTK+: matches only compared joystick bindings.
This commit is contained in:
parent
c74b643554
commit
c9f66cf910
|
@ -79,8 +79,7 @@ bool
|
||||||
Binding::matches (Binding &binding)
|
Binding::matches (Binding &binding)
|
||||||
{
|
{
|
||||||
if ((value & ~BINDING_THRESHOLD_MASK) ==
|
if ((value & ~BINDING_THRESHOLD_MASK) ==
|
||||||
(binding.value & ~BINDING_THRESHOLD_MASK) &&
|
(binding.value & ~BINDING_THRESHOLD_MASK))
|
||||||
is_joy ())
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue