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:
e884777
)
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 18:42:25 +0000
(21:42 +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
e951b49
..
3b4c051
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++;