diff options
Diffstat (limited to 'src/devices/sound/samples.cpp')
-rw-r--r-- | src/devices/sound/samples.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/samples.cpp b/src/devices/sound/samples.cpp index 40ff619cdce..f03ee6fe275 100644 --- a/src/devices/sound/samples.cpp +++ b/src/devices/sound/samples.cpp @@ -57,6 +57,7 @@ samples_device::samples_device(const machine_config &mconfig, device_type type, , device_sound_interface(mconfig, *this) , m_channels(0) , m_names(nullptr) + , m_samples_start_cb(*this) { } @@ -262,7 +263,7 @@ void samples_device::device_start() } // initialize any custom handlers - m_samples_start_cb.bind_relative_to(*owner()); + m_samples_start_cb.resolve(); if (!m_samples_start_cb.isnull()) m_samples_start_cb(); |