handling DivNoteEvent also sets the channel's note

This commit is contained in:
suno lili So 2025-06-15 14:39:41 -04:00 committed by tildearrow
parent 12a352cbd4
commit b7c50b272d

View file

@ -1616,6 +1616,7 @@ bool DivEngine::nextTick(bool noAccum, bool inhibitLowLat) {
}
dispatchCmd(DivCommand(DIV_CMD_NOTE_ON,note.channel,note.note));
keyHit[note.channel]=true;
chan[note.channel].note = note.note;
chan[note.channel].releasing=false;
chan[note.channel].noteOnInhibit=true;
chan[note.channel].lastIns=note.ins;