Fix arpeggio

This commit is contained in:
techmetx11 2024-04-13 20:04:43 +00:00
parent 50f1cf163a
commit a6be0a1925
No known key found for this signature in database
GPG key ID: 20E0C88A0E7E5AF2

View file

@ -1138,6 +1138,7 @@ void DivEngine::processRow(int i, bool afterDelay) {
dispatchCmd(DivCommand(DIV_CMD_NOTE_ON,i,DIV_NOTE_NULL)); dispatchCmd(DivCommand(DIV_CMD_NOTE_ON,i,DIV_NOTE_NULL));
} }
if (chan[i].doNote) {
if (song.resetEffectsOnRowChange) { if (song.resetEffectsOnRowChange) {
if (chan[i].lastArp) { if (chan[i].lastArp) {
chan[i].lastArp=0; chan[i].lastArp=0;
@ -1155,7 +1156,6 @@ void DivEngine::processRow(int i, bool afterDelay) {
} }
} }
if (chan[i].doNote) {
if (!song.continuousVibrato) { if (!song.continuousVibrato) {
chan[i].vibratoPos=0; chan[i].vibratoPos=0;
} }