diff --git a/src/engine/platform/es5506.cpp b/src/engine/platform/es5506.cpp index d07ef65e9..f193c9ac7 100644 --- a/src/engine/platform/es5506.cpp +++ b/src/engine/platform/es5506.cpp @@ -602,13 +602,11 @@ void DivPlatformES5506::tick(bool sysTick) { } } if (chan[i].noteChanged.note) { - if (chan[i].currNote!=chan[i].nextNote) { - chan[i].currNote=chan[i].nextNote; - const int nextFreq=NOTE_ES5506(i,chan[i].nextNote); - if (chan[i].nextFreq!=nextFreq) { - chan[i].nextFreq=nextFreq; - chan[i].noteChanged.freq=1; - } + chan[i].currNote=chan[i].nextNote; + const int nextFreq=NOTE_ES5506(i,chan[i].nextNote); + if (chan[i].nextFreq!=nextFreq) { + chan[i].nextFreq=nextFreq; + chan[i].noteChanged.freq=1; } } if (chan[i].noteChanged.freq) {