From dc158ff6d5e15e5fde5442907fac3c3404d5f369 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 28 Mar 2015 16:04:35 +0200 Subject: [PATCH] Both Velvet CIAs use interrupt level 2. --- cia.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cia.cpp b/cia.cpp index 2a4c90f9..d5d06d87 100644 --- 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) -- 2.47.3