From 89ea6a3b3ba4003cb539b04c537bca7727455f7e Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Wed, 19 Mar 2014 12:23:39 +0000 Subject: (MESS) 6883sam: devcb2. (nw) --- src/mess/machine/6883sam.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mess/machine/6883sam.c') diff --git a/src/mess/machine/6883sam.c b/src/mess/machine/6883sam.c index 0e54975ab25..30306f3bcf3 100644 --- a/src/mess/machine/6883sam.c +++ b/src/mess/machine/6883sam.c @@ -70,6 +70,7 @@ const device_type SAM6883 = &device_creator; sam6883_device::sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock, "sam6883", __FILE__), + m_read_res(*this), m_space_0000(*this), m_space_8000(*this), m_space_A000(*this), @@ -98,7 +99,7 @@ void sam6883_device::device_start() m_cpu_space = &m_cpu->space(config->m_cpu_space); // resolve callbacks - m_res_input_func.resolve(config->m_input_func, *this); + m_read_res.resolve_safe(0); // install SAM handlers m_cpu_space->install_read_handler(0xFFC0, 0xFFDF, 0, 0, read8_delegate(FUNC(sam6883_device::read), this)); -- cgit v1.2.3-70-g09d2