mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
SAA1099: fix octave not being set in last 2 chans
This commit is contained in:
parent
9193ec0f14
commit
8c80af4a46
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ void DivPlatformSAA1099::tick() {
|
|||
rWrite(i,0);
|
||||
}
|
||||
rWrite(0x08+i,chan[i].freqL);
|
||||
rWrite(0x10+(i>>1),chan[i&2].freqH|(chan[1+(i&2)].freqH<<4));
|
||||
rWrite(0x10+(i>>1),chan[i&6].freqH|(chan[1+(i&6)].freqH<<4));
|
||||
if (chan[i].keyOn) chan[i].keyOn=false;
|
||||
if (chan[i].keyOff) chan[i].keyOff=false;
|
||||
chan[i].freqChanged=false;
|
||||
|
|
Loading…
Reference in a new issue