Namco WSG: noise in per-chan osc?

This commit is contained in:
tildearrow 2022-12-31 16:19:02 -05:00
parent b07798b805
commit 821df80594
1 changed files with 8 additions and 2 deletions

View File

@ -754,9 +754,15 @@ void namco_audio_device::sound_stream_update(short** outputs, int len)
int cnt;
if (voice->noise_state)
buffer[i]+=noise_data;
else
{
buffer[i]+=noise_data;
voice->last_out=noise_data;
}
else {
buffer[i]+=-noise_data;
voice->last_out=-noise_data;
}
if (hold)
{