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:
8a0521e
)
spu: fix wrong volume shift
author
notaz
<notasas@gmail.com>
Sat, 10 Sep 2022 13:46:05 +0000
(16:46 +0300)
committer
notaz
<notasas@gmail.com>
Sat, 10 Sep 2022 14:02:08 +0000
(17:02 +0300)
libretro/pcsx_rearmed#685
plugins/dfsound/spu.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/dfsound/spu.c
b/plugins/dfsound/spu.c
index
f4426ab
..
66c7651
100644
(file)
--- a/
plugins/dfsound/spu.c
+++ b/
plugins/dfsound/spu.c
@@
-1193,13
+1193,13
@@
static void do_samples_finish(int *SSumLR, int ns_to,
for (ns = 0; ns < ns_to * 2; )
{
d = SSumLR[ns]; SSumLR[ns] = 0;
- d = d * vol_l >> 1
5
;
+ d = d * vol_l >> 1
4
;
ssat32_to_16(d);
*spu.pS++ = d;
ns++;
d = SSumLR[ns]; SSumLR[ns] = 0;
- d = d * vol_r >> 1
5
;
+ d = d * vol_r >> 1
4
;
ssat32_to_16(d);
*spu.pS++ = d;
ns++;