]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Gameports panel autofire on the fly config change check
authorToni Wilen <twilen@winuae.net>
Tue, 9 May 2023 17:21:06 +0000 (20:21 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 9 May 2023 17:21:06 +0000 (20:21 +0300)
inputdevice.cpp

index c19268e197a41ad14609a653f53f4306ced7f17c..09db352e5733c580c45be891208e725cfaf4270f 100644 (file)
@@ -5604,8 +5604,10 @@ static void inputdevice_checkconfig (void)
                for (int j = 0; j < MAX_JPORT_DEVS; j++) {
                        if (currprefs.jports[i].jd[j].id != changed_prefs.jports[i].jd[j].id ||
                                currprefs.jports[i].jd[j].mode != changed_prefs.jports[i].jd[j].mode ||
-                               currprefs.jports[i].jd[j].submode != changed_prefs.jports[i].jd[j].submode)
+                               currprefs.jports[i].jd[j].submode != changed_prefs.jports[i].jd[j].submode ||
+                               currprefs.jports[i].jd[j].autofire != changed_prefs.jports[i].jd[j].autofire) {
                                        changed = true;
+                       }
                }
        }