summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/lc7535.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/lc7535.cpp')
-rw-r--r--src/devices/sound/lc7535.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/lc7535.cpp b/src/devices/sound/lc7535.cpp
index 00f86ea2945..0f05bb14456 100644
--- a/src/devices/sound/lc7535.cpp
+++ b/src/devices/sound/lc7535.cpp
@@ -41,6 +41,7 @@ DEFINE_DEVICE_TYPE(LC7535, lc7535_device, "lc7535", "Sanyo LC7535")
lc7535_device::lc7535_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, LC7535, tag, owner, clock),
m_select_cb(*this),
+ m_volume_cb(*this),
m_addr(0), m_data(0),
m_count(0),
m_ce(0), m_di(0), m_clk(0)
@@ -55,7 +56,7 @@ void lc7535_device::device_start()
{
// resolve callbacks
m_select_cb.resolve();
- m_volume_cb.bind_relative_to(*owner());
+ m_volume_cb.resolve();
// register for save states
save_item(NAME(m_addr));