]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Audio fix (broken in b5)
authorToni Wilen <twilen@winuae.net>
Sun, 12 May 2024 16:28:39 +0000 (19:28 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 12 May 2024 16:28:39 +0000 (19:28 +0300)
audio.cpp

index 0fd69bdbe6887e0cbd7c7d99679c3929d7cf74f3..e1a1800961a3d8069f580eec77cc0bf2a4734e02 100644 (file)
--- a/audio.cpp
+++ b/audio.cpp
@@ -2572,8 +2572,8 @@ void AUDxDAT(int nr, uae_u16 v, uaecptr addr)
                int cyc = 0;
                if (chan_ena) {
                        // AUDxLEN is processed after 1 CCK delay
+                       cyc = 1 * CYCLE_UNIT;
                        if ((cdp->state & 15) == 2 || (cdp->state & 15) == 3) {
-                               cyc = 1 * CYCLE_UNIT;
                                // But INTREQ2 is set immediately
                                if (cdp->wlen == 1) {
                                        cdp->intreq2 = true;