VRC6: possibly bring solution to #671

This commit is contained in:
tildearrow 2022-09-09 15:31:38 -05:00
parent 7e065e4cfe
commit 84b0ffbac3
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ void DivPlatformVRC6::tick(bool sysTick) {
if (chan[i].freq<0) chan[i].freq=0;
if (chan[i].keyOff) {
chWrite(i,2,0);
} else {
} else if (chan[i].active) {
chWrite(i,1,chan[i].freq&0xff);
chWrite(i,2,0x80|((chan[i].freq>>8)&0xf));
}