PCE: fix noise chan osc

issue #2524
This commit is contained in:
tildearrow 2025-05-20 18:08:48 -05:00
parent 5044b84bf0
commit 9fd586c1c4

View file

@ -637,7 +637,9 @@ void PCE_PSG::RunChannel(int chc, int32_t timestamp, const bool LFO_On)
ch->waveform_index = (ch->waveform_index + 1) & 0x1F; ch->waveform_index = (ch->waveform_index + 1) & 0x1F;
ch->dda = ch->waveform[ch->waveform_index]; ch->dda = ch->waveform[ch->waveform_index];
if(&PCE_PSG::UpdateOutput_Noise != ch->UpdateOutput) {
(this->*ch->UpdateOutput)(timestamp + ch->counter, ch); (this->*ch->UpdateOutput)(timestamp + ch->counter, ch);
}
if(LFO_On) if(LFO_On)
{ {