From 2d777403f91236c757104bf07e7e72681a79b54f Mon Sep 17 00:00:00 2001 From: win2kgamer <47463859+win2kgamer@users.noreply.github.com> Date: Sun, 1 Feb 2026 22:11:30 -0600 Subject: [PATCH] AD1848: Remove old CS423xB/4235/4239 I18/I19 mixer hack as it's no longer needed --- src/sound/snd_ad1848.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/sound/snd_ad1848.c b/src/sound/snd_ad1848.c index 44e328842..181d2158e 100644 --- a/src/sound/snd_ad1848.c +++ b/src/sound/snd_ad1848.c @@ -411,19 +411,6 @@ ad1848_write(uint16_t addr, uint8_t val, void *priv) goto readonly_i; } - /* HACK: the Windows 9x driver's "Synth" control writes to this - register with no remapping, even if internal FM is enabled. */ - if (ad1848->index == 18) { - if (val & 0x80) - ad1848->fm_vol_l = 0; - else - ad1848->fm_vol_l = (int) ad1848_vols_5bits_aux_gain[val & 0x1f]; - } else { - if (val & 0x80) - ad1848->fm_vol_r = 0; - else - ad1848->fm_vol_r = (int) ad1848_vols_5bits_aux_gain[val & 0x1f]; - } } if ((ad1848->type >= AD1848_TYPE_CS4232) && (ad1848->type <= AD1848_TYPE_CS4236)) { if (ad1848->index == 18) {