Remove condition duplication

This commit is contained in:
cam900 2022-12-10 13:06:58 +09:00
parent 3a4197c464
commit 6ba1f3dfdd
1 changed files with 1 additions and 3 deletions

View File

@ -103,9 +103,7 @@ void DivPlatformK007232::tick(bool sysTick) {
signed char macroVol=((chan[i].vol&0xf)*MIN(chan[i].macroVolMul,chan[i].std.vol.val))/chan[i].macroVolMul;
if ((!isMuted[i]) && (macroVol!=chan[i].outVol)) {
chan[i].outVol=macroVol;
if (!isMuted[i]) {
chan[i].volumeChanged=true;
}
chan[i].volumeChanged=true;
}
}
if (chan[i].std.arp.had) {