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/monzagp.cpp | |
parent | c7d667d41adaa9627a3350e7f984fe7fc431f081 (diff) |
drivers starting with i, j, k, l and m: more macro removal (nw)
Diffstat (limited to 'src/mame/drivers/monzagp.cpp')
-rw-r--r-- | src/mame/drivers/monzagp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/monzagp.cpp b/src/mame/drivers/monzagp.cpp index 955f812391a..e0af88f679e 100644 --- a/src/mame/drivers/monzagp.cpp +++ b/src/mame/drivers/monzagp.cpp @@ -68,8 +68,8 @@ protected: virtual void machine_start() override; private: - DECLARE_READ8_MEMBER(port_r); - DECLARE_WRITE8_MEMBER(port_w); + uint8_t port_r(offs_t offset); + void port_w(offs_t offset, uint8_t data); void port1_w(uint8_t data); void port2_w(uint8_t data); uint8_t port2_r(); @@ -283,7 +283,7 @@ void monzagp_state::monzagp_map(address_map &map) } -READ8_MEMBER(monzagp_state::port_r) +uint8_t monzagp_state::port_r(offs_t offset) { uint8_t data = 0xff; if (!(m_p1 & 0x01)) // 8350 videoram @@ -330,7 +330,7 @@ READ8_MEMBER(monzagp_state::port_r) return data; } -WRITE8_MEMBER(monzagp_state::port_w) +void monzagp_state::port_w(offs_t offset, uint8_t data) { if (!(m_p1 & 0x01)) // 8350 videoram { |