mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
Namco WSG: noise in per-chan osc?
This commit is contained in:
parent
b07798b805
commit
821df80594
1 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue