GTK : Fixed autofire
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@701 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
f8ff30e52a
commit
71b3024039
|
@ -890,9 +890,9 @@ void Window::vOnJoypadToggled(Gtk::CheckMenuItem * _poCMI, EPad _eJoypad)
|
|||
|
||||
void Window::vOnAutofireToggled(Gtk::CheckMenuItem * _poCMI, EKey _eKey)
|
||||
{
|
||||
if (_poCMI->get_active() != inputGetAutoFire(_eKey))
|
||||
if (_poCMI->get_active() == inputGetAutoFire(_eKey))
|
||||
{
|
||||
//inputToggleAutoFire(_eKey);
|
||||
inputToggleAutoFire(_eKey);
|
||||
}
|
||||
|
||||
std::string sKey;
|
||||
|
|
Loading…
Reference in New Issue