From: Toni Wilen Date: Sat, 22 Feb 2020 19:20:24 +0000 (+0200) Subject: Return zero code when sync was restored. X-Git-Tag: 4400~114 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=5724a8ea41e6caea864b32678e522f8d8f154f9c;p=francis%2Fwinuae.git Return zero code when sync was restored. --- diff --git a/cia.cpp b/cia.cpp index 7ea4622f..29f9db02 100644 --- 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"));