Reduce duplicated condition

This commit is contained in:
cam900 2024-02-27 16:15:58 +09:00 committed by tildearrow
parent d5ea50f8dc
commit 0cd7ed84f9

View file

@ -283,8 +283,6 @@ int DivPlatformNDS::dispatch(DivCommand c) {
}
if (c.value!=DIV_NOTE_NULL) {
chan[c.chan].baseFreq=NOTE_PERIODIC(c.value);
}
if (c.value!=DIV_NOTE_NULL) {
chan[c.chan].freqChanged=true;
chan[c.chan].note=c.value;
}