From 9fd586c1c44c2df46ca7f0e0752cd7e52a5c6061 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 20 May 2025 18:08:48 -0500 Subject: [PATCH] PCE: fix noise chan osc issue #2524 --- src/engine/platform/sound/pce_psg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/sound/pce_psg.cpp b/src/engine/platform/sound/pce_psg.cpp index 849ba282f..0baf7ce2f 100644 --- a/src/engine/platform/sound/pce_psg.cpp +++ b/src/engine/platform/sound/pce_psg.cpp @@ -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->dda = ch->waveform[ch->waveform_index]; - (this->*ch->UpdateOutput)(timestamp + ch->counter, ch); + if(&PCE_PSG::UpdateOutput_Noise != ch->UpdateOutput) { + (this->*ch->UpdateOutput)(timestamp + ch->counter, ch); + } if(LFO_On) {