diff options
Diffstat (limited to 'src/devices/sound/sn76496.cpp')
-rw-r--r-- | src/devices/sound/sn76496.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/sound/sn76496.cpp b/src/devices/sound/sn76496.cpp index 0c08ca0cb2e..87f1a95486e 100644 --- a/src/devices/sound/sn76496.cpp +++ b/src/devices/sound/sn76496.cpp @@ -267,6 +267,11 @@ void sn76496_base_device::device_start() register_for_save_states(); } +void sn76496_base_device::device_clock_changed() +{ + m_sound->set_sample_rate(clock()/2); +} + WRITE8_MEMBER( sn76496_base_device::stereo_w ) { m_sound->update(); |