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:
bgk 2008-09-04 21:07:36 +00:00
parent f8ff30e52a
commit 71b3024039
1 changed files with 2 additions and 2 deletions

View File

@ -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;