OPN: fix portaPause not resetting on new note

This commit is contained in:
tildearrow 2022-03-29 23:58:50 -05:00
parent c7a37959f0
commit a43034f559
6 changed files with 6 additions and 0 deletions

View file

@ -63,6 +63,7 @@ int DivPlatformYM2610BExt::dispatch(DivCommand c) {
if (c.value!=DIV_NOTE_NULL) {
opChan[ch].baseFreq=NOTE_FREQUENCY(c.value);
opChan[ch].portaPause=false;
opChan[ch].freqChanged=true;
}
opChan[ch].keyOn=true;