mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
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;
|
chan[i].freqChanged=true;
|
||||||
}
|
}
|
||||||
if (chan[i].std.ex1.had) {
|
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,0x06,chan[i].cutoff&0xff);
|
||||||
chWrite(i,0x07,chan[i].cutoff>>8);
|
chWrite(i,0x07,chan[i].cutoff>>8);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2837,7 +2837,7 @@ void FurnaceGUI::drawInsEdit() {
|
||||||
ex2Max=4095;
|
ex2Max=4095;
|
||||||
}
|
}
|
||||||
if (ins->type==DIV_INS_SU) {
|
if (ins->type==DIV_INS_SU) {
|
||||||
ex1Max=65535;
|
ex1Max=16383;
|
||||||
ex2Max=255;
|
ex2Max=255;
|
||||||
}
|
}
|
||||||
if (ins->type==DIV_INS_SAA1099) ex1Max=8;
|
if (ins->type==DIV_INS_SAA1099) ex1Max=8;
|
||||||
|
|
Loading…
Reference in a new issue