]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Return zero code when sync was restored.
authorToni Wilen <twilen@winuae.net>
Sat, 22 Feb 2020 19:20:24 +0000 (21:20 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 22 Feb 2020 19:20:24 +0000 (21:20 +0200)
cia.cpp

diff --git a/cia.cpp b/cia.cpp
index 7ea4622f912b73dc6ffc41e6a4a70e27aee349f0..29f9db023dc828c612033190e28dc8336d25932f 100644 (file)
--- a/cia.cpp
+++ b/cia.cpp
@@ -944,6 +944,7 @@ void CIA_vsync_prehandler (void)
                kblostsynccnt -= maxvpos;
                if (kblostsynccnt <= 0) {
                        kblostsynccnt = 0;
+                       kbcode = 0;
                        keyreq ();
 #if KB_DEBUG
                        write_log (_T("lostsync\n"));