diff options
Diffstat (limited to 'src/mame/audio/lynx.cpp')
-rw-r--r-- | src/mame/audio/lynx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/lynx.cpp b/src/mame/audio/lynx.cpp index e50a932acf1..408d47c9418 100644 --- a/src/mame/audio/lynx.cpp +++ b/src/mame/audio/lynx.cpp @@ -99,12 +99,12 @@ DEFINE_DEVICE_TYPE(LYNX2_SND, lynx2_sound_device, "lynx2_sound", "Mikey (Lynx II lynx_sound_device::lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : lynx_sound_device(mconfig, LYNX_SND, tag, owner, clock) { - m_timer_delegate = timer_delegate(); } lynx_sound_device::lynx_sound_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, type, tag, owner, clock) , device_sound_interface(mconfig, *this) + , m_timer_delegate(*this) { } @@ -174,7 +174,7 @@ void lynx_sound_device::device_start() { m_mixer_channel = machine().sound().stream_alloc(*this, 0, 1, machine().sample_rate()); m_usec_per_sample = 1000000 / machine().sample_rate(); - m_timer_delegate.bind_relative_to(*owner()); + m_timer_delegate.resolve(); init(); register_save(); } @@ -184,7 +184,7 @@ void lynx2_sound_device::device_start() { m_mixer_channel = machine().sound().stream_alloc(*this, 0, 2, machine().sample_rate()); m_usec_per_sample = 1000000 / machine().sample_rate(); - m_timer_delegate.bind_relative_to(*owner()); + m_timer_delegate.resolve(); init(); register_save(); } |