]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Both Velvet CIAs use interrupt level 2.
authorToni Wilen <twilen@winuae.net>
Sat, 28 Mar 2015 14:04:35 +0000 (16:04 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 28 Mar 2015 14:04:35 +0000 (16:04 +0200)
cia.cpp

diff --git a/cia.cpp b/cia.cpp
index 2a4c90f963efc89e948de199bed5f5d192dc647e..d5d06d872b56f49ab8754daf6843d341fc2186bc 100644 (file)
--- a/cia.cpp
+++ b/cia.cpp
@@ -147,7 +147,12 @@ static void ICRB (uae_u32 data)
        }
 #endif
        ciabicr |= 0x20;
-       ICR (0x2000);
+       if (currprefs.cs_compatible == CP_VELVET) {
+               // Both CIAs in Velvet are connected to level 2.
+               ICR (0x0008);
+       } else {
+               ICR (0x2000);
+       }
 }
 
 static void RethinkICRA (void)