VRC6: possibly bring solution to #671

This commit is contained in:
tildearrow 2022-09-09 15:31:38 -05:00
parent 7e065e4cfe
commit 84b0ffbac3

View file

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