summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/bbc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/bbc.cpp')
-rw-r--r--src/mame/machine/bbc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/bbc.cpp b/src/mame/machine/bbc.cpp
index 4f100db598b..c15e57f60b0 100644
--- a/src/mame/machine/bbc.cpp
+++ b/src/mame/machine/bbc.cpp
@@ -1511,9 +1511,9 @@ void bbc_state::machine_reset()
/* install econet hardware */
if (m_bbcconfig.read_safe(0) & 0x04)
- m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0xfea0, 0xfebf, read8sm_delegate(FUNC(mc6854_device::read), m_adlc.target()), write8sm_delegate(FUNC(mc6854_device::write), m_adlc.target()));
+ m_maincpu->space(AS_PROGRAM).install_readwrite_handler(0xfea0, 0xfebf, read8sm_delegate(*m_adlc, FUNC(mc6854_device::read)), write8sm_delegate(*m_adlc, FUNC(mc6854_device::write)));
else
- m_maincpu->space(AS_PROGRAM).install_read_handler(0xfea0, 0xfebf, read8_delegate(FUNC(bbc_state::bbc_fe_r), this));
+ m_maincpu->space(AS_PROGRAM).install_read_handler(0xfea0, 0xfebf, read8_delegate(*this, FUNC(bbc_state::bbc_fe_r)));
/* power-on reset timer, should produce "boo...beep" startup sound before sn76496 is initialised */
//m_maincpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);