notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e98ada
)
spu: fix a wrong assumption about cd volume
author
notaz
<notasas@gmail.com>
Wed, 6 Dec 2023 23:45:51 +0000
(
01:45
+0200)
committer
notaz
<notasas@gmail.com>
Wed, 6 Dec 2023 23:49:11 +0000
(
01:49
+0200)
reported by xjsxjs197 again
plugins/dfsound/xa.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/dfsound/xa.c
b/plugins/dfsound/xa.c
index
e3a9fb6
..
6b5433f
100644
(file)
--- 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;