From 8ce046fd519bc4f19af4059d4a3e64080522517d Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sun, 20 Nov 2022 14:23:46 +0600 Subject: [PATCH] OPTiMC: Don't factor in the SB mixer OPL volumes --- src/sound/snd_optimc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sound/snd_optimc.c b/src/sound/snd_optimc.c index bd0fcc564..bac263f0f 100644 --- a/src/sound/snd_optimc.c +++ b/src/sound/snd_optimc.c @@ -76,6 +76,8 @@ optimc_filter_opl(void* priv, double* out_l, double* out_r) optimc_t *optimc = (optimc_t *) priv; if (optimc->cur_wss_enabled) { + *out_l /= optimc->sb->mixer_sbpro.fm_l; + *out_r /= optimc->sb->mixer_sbpro.fm_r; ad1848_filter_aux2((void*)&optimc->ad1848, out_l, out_r); } }