From 745b6da2d214e1f3a6b3e3ee7ef649bb18fd856a Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 24 Nov 2022 01:48:33 +0100 Subject: [PATCH] Added the NULL sound filter to the OPTi 82c929 code. --- src/sound/snd_optimc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound/snd_optimc.c b/src/sound/snd_optimc.c index 30c1fe482..2299c3ecc 100644 --- a/src/sound/snd_optimc.c +++ b/src/sound/snd_optimc.c @@ -157,6 +157,7 @@ optimc_reg_write(uint16_t addr, uint8_t val, void *p) if (val != old) { optimc->cur_mode = optimc->cur_wss_enabled = !!(val & 0x80); + sound_set_cd_audio_filter(NULL, NULL); if (optimc->cur_wss_enabled) /* WSS */ sound_set_cd_audio_filter(ad1848_filter_cd_audio, &optimc->ad1848); else /* SBPro */