Reduce line

This commit is contained in:
cam900 2022-03-16 11:40:10 +09:00 committed by GitHub
parent 724bd5b8dc
commit 53ad1c93e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,11 +339,7 @@ void DivPlatformX1_010::updateEnvelope(int ch) {
} }
chWrite(ch,5,0x10|(ch&0xf)); chWrite(ch,5,0x10|(ch&0xf));
} else { } else {
if (isMuted[ch]) { chWrite(ch,1,isMuted[ch]?0:((chan[ch].lvol<<4)|chan[ch].rvol));
chWrite(ch,1,0);
} else {
chWrite(ch,1,(chan[ch].lvol<<4)|chan[ch].rvol);
}
} }
} }