Namco WSG: noise in per-chan osc?
This commit is contained in:
parent
b07798b805
commit
821df80594
|
|
@ -754,9 +754,15 @@ void namco_audio_device::sound_stream_update(short** outputs, int len)
|
||||||
int cnt;
|
int cnt;
|
||||||
|
|
||||||
if (voice->noise_state)
|
if (voice->noise_state)
|
||||||
buffer[i]+=noise_data;
|
{
|
||||||
else
|
buffer[i]+=noise_data;
|
||||||
|
voice->last_out=noise_data;
|
||||||
|
}
|
||||||
|
else {
|
||||||
buffer[i]+=-noise_data;
|
buffer[i]+=-noise_data;
|
||||||
|
voice->last_out=-noise_data;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (hold)
|
if (hold)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue