diff options
author | 2020-05-28 18:10:20 +0200 | |
---|---|---|
committer | 2020-05-28 18:10:20 +0200 | |
commit | d4c772bcc7263dd2697a7977d196a96ad2d067a3 (patch) | |
tree | 3fa4d24ee8250f44ec9f7a0cc9df94bf8bd3c5cb /src/mame/drivers/konin.cpp | |
parent | c7d667d41adaa9627a3350e7f984fe7fc431f081 (diff) |
drivers starting with i, j, k, l and m: more macro removal (nw)
Diffstat (limited to 'src/mame/drivers/konin.cpp')
-rw-r--r-- | src/mame/drivers/konin.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mame/drivers/konin.cpp b/src/mame/drivers/konin.cpp index 0e80076451a..f215262d541 100644 --- a/src/mame/drivers/konin.cpp +++ b/src/mame/drivers/konin.cpp @@ -40,7 +40,6 @@ public: void konin(machine_config &config); private: - DECLARE_WRITE8_MEMBER(picu_b_w); DECLARE_WRITE_LINE_MEMBER(picu_r3_w); void konin_io(address_map &map); @@ -53,11 +52,6 @@ private: required_device<pit8253_device> m_iopit; }; -WRITE8_MEMBER(konin_state::picu_b_w) -{ - m_picu->b_w(data); -} - WRITE_LINE_MEMBER(konin_state::picu_r3_w) { m_picu->r_w(4, !state); @@ -79,7 +73,7 @@ void konin_state::konin_io(address_map &map) { map.unmap_value_high(); map.global_mask(0xff); - map(0x24, 0x24).w(FUNC(konin_state::picu_b_w)); + map(0x24, 0x24).w(m_picu, FUNC(i8214_device::b_w)); map(0x80, 0x83).lrw8( NAME([this](offs_t offset) { return m_ioppi->read(offset^3); }), NAME([this](offs_t offset, u8 data) { m_ioppi->write(offset^3, data); })); |