Namco WSG: noise in per-chan osc for real?

This commit is contained in:
tildearrow 2023-01-12 17:45:33 -05:00
parent 15c6ebff0a
commit aea7a67d3e

View file

@ -659,11 +659,13 @@ void namco_audio_device::sound_stream_update(short** outputs, int len)
{ {
lmix[i]+=l_noise_data; lmix[i]+=l_noise_data;
rmix[i]+=r_noise_data; rmix[i]+=r_noise_data;
voice->last_out=(l_noise_data+r_noise_data)>>1;
} }
else else
{ {
lmix[i]+=-l_noise_data; lmix[i]+=-l_noise_data;
rmix[i]+=-r_noise_data; rmix[i]+=-r_noise_data;
voice->last_out=-((l_noise_data+r_noise_data)>>1);
} }
if (hold) if (hold)