From de4e1795cc2cab26711926836bebaaa00ac45155 Mon Sep 17 00:00:00 2001 From: win2kgamer <47463859+win2kgamer@users.noreply.github.com> Date: Sun, 1 Feb 2026 21:50:31 -0600 Subject: [PATCH] CS423x: Make bits 2-0 of control register C0 writable, fixes Win3.1 v2.02 driver invalid codec error and Win9x v2.86 driver code 10 --- src/sound/snd_cs423x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_cs423x.c b/src/sound/snd_cs423x.c index b9004454e..264171b1e 100644 --- a/src/sound/snd_cs423x.c +++ b/src/sound/snd_cs423x.c @@ -290,7 +290,7 @@ cs423x_write(uint16_t addr, uint8_t val, void *priv) ad1848_init(&dev->ad1848, dev->ad1848_type); ad1848_set_cd_audio_channel(&dev->ad1848, AD1848_AUX2); } - val = 0x00; + val &= 0x07; break; case 1: /* Version / Chip ID */