Skip to content

Commit

Permalink
SAA1099: fix octave not being set in last 2 chans
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Jan 16, 2022
1 parent 9193ec0 commit 8c80af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/platform/saa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c80af4

Please sign in to comment.