diff options
Diffstat (limited to 'src/mame/audio/beezer.c')
-rw-r--r-- | src/mame/audio/beezer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/beezer.c b/src/mame/audio/beezer.c index d1d4f2e2c17..e9e3ccb4b79 100644 --- a/src/mame/audio/beezer.c +++ b/src/mame/audio/beezer.c @@ -82,7 +82,7 @@ beezer_sound_device::beezer_sound_device(const machine_config &mconfig, const ch m_sh6840_noiselatch1(0), m_sh6840_noiselatch3(0), m_stream(NULL)/*, - m_freq_to_step(0)*/ + m_freq_to_step(0)*/ { memset(m_sh6840_timer, 0, sizeof(m_sh6840_timer)); m_sh6840_volume[0] = 0; @@ -477,4 +477,4 @@ void beezer_sound_device::sound_stream_update(sound_stream &stream, stream_sampl sample += (((sample3*0x80)^(m_sh6840_volume[3]&0x80))?-1:1)*(m_sh6840_volume[3]&0x7F); *buffer++ = sample*64; // adding 4 numbers ranging from -128 to 127 yields a range of -512 to 508; to scale that to '-32768 to 32767' we multiply by 64 } -}
\ No newline at end of file +} |