From 5724a8ea41e6caea864b32678e522f8d8f154f9c Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 22 Feb 2020 21:20:24 +0200 Subject: [PATCH] Return zero code when sync was restored. --- cia.cpp | 1 + 1 file changed, 1 insertion(+) 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")); -- 2.47.3