]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Ignore keyboard reset warning if CPU is halted.
authorToni Wilen <twilen@winuae.net>
Thu, 1 Jan 2015 11:11:45 +0000 (13:11 +0200)
committerToni Wilen <twilen@winuae.net>
Thu, 1 Jan 2015 11:11:45 +0000 (13:11 +0200)
cia.cpp

diff --git a/cia.cpp b/cia.cpp
index 39d347bc629f8250320e901e75f7f71c2fe8d7e6..80332739e68d5b191efebfec1dbabfbded397ba8 100644 (file)
--- a/cia.cpp
+++ b/cia.cpp
@@ -637,7 +637,7 @@ static void sendrw (void)
 
 int resetwarning_do (int canreset)
 {
-       if (resetwarning_phase) {
+       if (resetwarning_phase || regs.halted > 0) {
                /* just force reset if second reset happens during resetwarning */
                if (canreset) {
                        resetwarning_phase = 0;