fix issue with volume macro+slide
This commit is contained in:
parent
dde2462025
commit
6884494b5c
9 changed files with 9 additions and 9 deletions
|
|
@ -44,7 +44,7 @@ void DivPlatformYM2610::tick() {
|
|||
for (int i=4; i<7; i++) {
|
||||
chan[i].std.next();
|
||||
if (chan[i].std.hadVol) {
|
||||
chan[i].outVol=chan[i].std.vol-(15-chan[i].vol);
|
||||
chan[i].outVol=chan[i].std.vol-(15-(chan[i].vol&15));
|
||||
if (chan[i].outVol<0) chan[i].outVol=0;
|
||||
if (isMuted[i]) {
|
||||
rWrite(0x04+i,0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue