diff options
author | 2020-06-07 18:57:24 -0400 | |
---|---|---|
committer | 2020-06-07 18:57:24 -0400 | |
commit | 29c7171702967abe49bb3f9dcd55b4b083606570 (patch) | |
tree | c40392c65884797d459b584a8623828c15ec7249 /src/devices/bus/acorn/atom | |
parent | cc3f16ec9509f90c04a22723488e28eb4a71937c (diff) |
bus/a1bus, bus/a2bus, bus/acorn, bus/bbc: Simplify handler signatures (nw)
Diffstat (limited to 'src/devices/bus/acorn/atom')
-rw-r--r-- | src/devices/bus/acorn/atom/econet.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/acorn/atom/econet.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/acorn/atom/econet.cpp b/src/devices/bus/acorn/atom/econet.cpp index f615313bdad..70c92ff3489 100644 --- a/src/devices/bus/acorn/atom/econet.cpp +++ b/src/devices/bus/acorn/atom/econet.cpp @@ -64,14 +64,14 @@ void atom_econet_device::device_start() address_space &space = m_bus->memspace(); space.install_readwrite_handler(0xb400, 0xb403, read8sm_delegate(*m_adlc, FUNC(mc6854_device::read)), write8sm_delegate(*m_adlc, FUNC(mc6854_device::write))); - space.install_read_handler(0xb404, 0xb404, read8_delegate(*this, FUNC(atom_econet_device::statid_r))); + space.install_read_handler(0xb404, 0xb404, read8smo_delegate(*this, FUNC(atom_econet_device::statid_r))); } //************************************************************************** // IMPLEMENTATION //************************************************************************** -READ8_MEMBER(atom_econet_device::statid_r) +uint8_t atom_econet_device::statid_r() { return 0xfe; } diff --git a/src/devices/bus/acorn/atom/econet.h b/src/devices/bus/acorn/atom/econet.h index 8d5f5e8eb19..114dc76bbeb 100644 --- a/src/devices/bus/acorn/atom/econet.h +++ b/src/devices/bus/acorn/atom/econet.h @@ -36,7 +36,7 @@ protected: virtual void device_add_mconfig(machine_config &config) override; private: - DECLARE_READ8_MEMBER(statid_r); + uint8_t statid_r(); DECLARE_WRITE_LINE_MEMBER(bus_irq_w); required_device<mc6854_device> m_adlc; |