]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Prevent unnecessary multiple resets
authorToni Wilen <twilen@winuae.net>
Sun, 1 Jan 2023 15:18:37 +0000 (17:18 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 1 Jan 2023 15:18:37 +0000 (17:18 +0200)
inputdevice.cpp

index 1b64b6013e70df16cb508a0fe122387818f7dfb6..f1aa8377f8ef0eb0363039bc6dfa8369b0c22e80 100644 (file)
@@ -4182,6 +4182,7 @@ void inputdevice_do_keyboard(int code, int state)
                                }
                                keyboard_reset_seq = 0;
                        }
+                       return;
                }
 
                if (key == AK_RESETWARNING) {