fix retrigger issue in sample instruments

This commit is contained in:
tildearrow 2022-04-15 01:26:44 -05:00
parent 397ab43ffd
commit a530934671
3 changed files with 9 additions and 5 deletions

View file

@ -493,8 +493,10 @@ int DivPlatformGenesis::dispatch(DivCommand c) {
}
dacPos=0;
dacPeriod=0;
chan[c.chan].baseFreq=NOTE_FREQUENCY(c.value);
chan[c.chan].freqChanged=true;
if (c.value!=DIV_NOTE_NULL) {
chan[c.chan].baseFreq=NOTE_FREQUENCY(c.value);
chan[c.chan].freqChanged=true;
}
chan[c.chan].furnaceDac=true;
} else { // compatible mode
if (c.value!=DIV_NOTE_NULL) {