SMS: fix note slides on upper notes

hopefully this doesn't break anything
This commit is contained in:
tildearrow 2022-04-12 21:30:35 -05:00
parent 45f14a951a
commit 9bd8aef538
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ void DivPlatformSMS::tick() {
if (chan[i].freqChanged) {
chan[i].freq=parent->calcFreq(chan[i].baseFreq,chan[i].pitch,true);
if (chan[i].freq>1023) chan[i].freq=1023;
if (chan[i].actualNote>0x5d) chan[i].freq=0x01;
if (chan[i].freq<8) chan[i].freq=1;
//if (chan[i].actualNote>0x5d) chan[i].freq=0x01;
rWrite(0x80|i<<5|(chan[i].freq&15));
rWrite(chan[i].freq>>4);
// what?