SoundUnit: max cutoff 16383
This commit is contained in:
parent
3306e853d1
commit
410a509d73
2 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ void DivPlatformSoundUnit::tick(bool sysTick) {
|
|||
chan[i].freqChanged=true;
|
||||
}
|
||||
if (chan[i].std.ex1.had) {
|
||||
chan[i].cutoff=chan[i].std.ex1.val;
|
||||
chan[i].cutoff=chan[i].std.ex1.val&16383;
|
||||
chWrite(i,0x06,chan[i].cutoff&0xff);
|
||||
chWrite(i,0x07,chan[i].cutoff>>8);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue