ES5506: fix same note not resetting slide

reseting? resetting? UGH
This commit is contained in:
tildearrow 2024-07-03 15:08:37 -05:00
parent 394a2b5442
commit aca85f1c82

View file

@ -602,7 +602,6 @@ 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) {
@ -610,7 +609,6 @@ void DivPlatformES5506::tick(bool sysTick) {
chan[i].noteChanged.freq=1;
}
}
}
if (chan[i].noteChanged.freq) {
if (chan[i].baseFreq!=chan[i].nextFreq) {
chan[i].baseFreq=chan[i].nextFreq;