]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
None serial device in fast cpu modes: transmit was never finished.
authorToni Wilen <twilen@winuae.net>
Tue, 18 Jul 2023 19:19:01 +0000 (22:19 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 18 Jul 2023 19:19:01 +0000 (22:19 +0300)
od-win32/serial_win32.cpp

index f70fee7df25db8f1c3749a368d68ddfb7d8305cb..1a1dd32feff1affd45ce47f8de9b064225a572b4 100644 (file)
@@ -603,7 +603,7 @@ static void checksend(void)
        }
 #endif
        if (serempty_enabled && !serxdevice_enabled) {
-               return;
+               goto end;
        }
 #ifdef SERIAL_MAP
        if (sermap_data && sermap_enabled) {
@@ -641,6 +641,7 @@ static void checksend(void)
                serial_send_previous = serdatshift_masked;
        }
 #endif
+end:
        if (serial_period_hsyncs <= 1 || data_in_sershift == 2) {
                data_in_sershift = 0;
                serdatcopy();