]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix Prometheus Firestorm interrupt bit
authorToni Wilen <twilen@winuae.net>
Fri, 2 Aug 2024 18:04:18 +0000 (21:04 +0300)
committerToni Wilen <twilen@winuae.net>
Fri, 2 Aug 2024 18:04:18 +0000 (21:04 +0300)
pci.cpp

diff --git a/pci.cpp b/pci.cpp
index 39b52b01a2c6a9cb794535aa0947e08c004ad178..1d689faf2fe9fce4349d52405bf395d36234c37b 100644 (file)
--- a/pci.cpp
+++ b/pci.cpp
@@ -1923,7 +1923,7 @@ static int prometheusfs_get_index(uaecptr addr, bool w, uae_u32 *vp)
                                }
                                return -1;
                        }
-                       *vp = (pcib->irq ? (1 << 29) : 0) | (pcib->intena ? (1 << 30) : 0) | (pcib->reset ? (1 << 31) : 0);
+                       *vp = (pcib->irq ? 0 : (1 << 29)) | (pcib->intena ? (1 << 30) : 0) | (pcib->reset ? (1 << 31) : 0);
                }
                return -1;
        }