diff options
Diffstat (limited to 'src/devices/sound/ymz280b.cpp')
-rw-r--r-- | src/devices/sound/ymz280b.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/sound/ymz280b.cpp b/src/devices/sound/ymz280b.cpp index 5bbbc07205b..c9523dcf2b2 100644 --- a/src/devices/sound/ymz280b.cpp +++ b/src/devices/sound/ymz280b.cpp @@ -687,6 +687,13 @@ void ymz280b_device::device_timer(emu_timer &timer, device_timer_id id, int para } +void ymz280b_device::device_clock_changed() +{ + m_master_clock = (double)clock() / 384.0; + m_stream->set_sample_rate(INTERNAL_SAMPLE_RATE); +} + + /********************************************************************************************** write_to_register -- handle a write to the current register |