mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
VRC6: possibly bring solution to #671
This commit is contained in:
parent
7e065e4cfe
commit
84b0ffbac3
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue