summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/6883sam.c
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2014-03-19 12:23:39 +0000
committer Curt Coder <curtcoder@mail.com>2014-03-19 12:23:39 +0000
commit89ea6a3b3ba4003cb539b04c537bca7727455f7e (patch)
tree423db914257f86c2fe01e2f67530fa8d6a7fc1e6 /src/mess/machine/6883sam.c
parent9271b7e281e9ca701aadb96090f1851098cbcf98 (diff)
(MESS) 6883sam: devcb2. (nw)
Diffstat (limited to 'src/mess/machine/6883sam.c')
-rw-r--r--src/mess/machine/6883sam.c3
1 files changed, 2 insertions, 1 deletions
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::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));