From bc6aacec71e4535e6577b8bc320a102ac6926357 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sat, 6 Apr 2024 02:44:50 +0200 Subject: [PATCH] PASPlus fix for PoP1 Okay, turns out bit 5 (for the board revision) is for all PAS2-based cards, which includes both Plus and 16. This should fix the PCM IRQ on PoP1 and board detection on Plus DOS drivers. --- src/sound/snd_pas16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_pas16.c b/src/sound/snd_pas16.c index 9812ced64..4530bda86 100644 --- a/src/sound/snd_pas16.c +++ b/src/sound/snd_pas16.c @@ -309,7 +309,7 @@ pas16_in(uint16_t port, void *priv) ret = pas16->audiofilt; break; case 0x0803: - ret = pas16->irq_ena | (pas16->type ? 0x20 : 0x00); + ret = pas16->irq_ena | 0x20; pas16_log("IRQ Mask read=%02x.\n", ret); break;