From: notaz Date: Wed, 6 Dec 2023 23:45:51 +0000 (+0200) Subject: spu: fix a wrong assumption about cd volume X-Git-Tag: r24l~30 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ccf556f7969fd2a1eeaa097abb2a0684b4c8969;p=pcsx_rearmed.git spu: fix a wrong assumption about cd volume reported by xjsxjs197 again --- diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index e3a9fb61..6b5433fb 100644 --- a/plugins/dfsound/xa.c +++ b/plugins/dfsound/xa.c @@ -82,7 +82,8 @@ INLINE void MixCD(int *SSumLR, int *RVB, int ns_to, int decode_pos) int ns; uint32_t v = spu.XALastVal; - if ((vll | vlr | vrl | vrr) == 0) + // note: spu volume doesn't affect cd capture + if ((spu.cdv.ll | spu.cdv.lr | spu.cdv.rl | spu.cdv.rr) == 0) { SkipCD(ns_to, decode_pos); return;