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:
fe56428
)
spu: rvb volume is signed
author
notaz
<notasas@gmail.com>
Sun, 15 Oct 2023 20:10:16 +0000
(23:10 +0300)
committer
notaz
<notasas@gmail.com>
Sun, 15 Oct 2023 20:22:59 +0000
(23:22 +0300)
notaz/pcsx_rearmed#316
plugins/dfsound/registers.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/dfsound/registers.c
b/plugins/dfsound/registers.c
index
6f06ffc
..
b862026
100644
(file)
--- a/
plugins/dfsound/registers.c
+++ b/
plugins/dfsound/registers.c
@@
-167,11
+167,11
@@
void CALLBACK SPUwriteRegister(unsigned long reg, unsigned short val,
goto upd_irq;
\r
//-------------------------------------------------//
\r
case H_SPUrvolL:
\r
- spu.rvb->VolLeft
=
val;
\r
+ spu.rvb->VolLeft
= (int16_t)
val;
\r
break;
\r
//-------------------------------------------------//
\r
case H_SPUrvolR:
\r
- spu.rvb->VolRight
=
val;
\r
+ spu.rvb->VolRight
= (int16_t)
val;
\r
break;
\r
//-------------------------------------------------//
\r
\r