summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/inderp.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-05-28 18:10:20 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-05-28 18:10:20 +0200
commitd4c772bcc7263dd2697a7977d196a96ad2d067a3 (patch)
tree3fa4d24ee8250f44ec9f7a0cc9df94bf8bd3c5cb /src/mame/drivers/inderp.cpp
parentc7d667d41adaa9627a3350e7f984fe7fc431f081 (diff)
drivers starting with i, j, k, l and m: more macro removal (nw)
Diffstat (limited to 'src/mame/drivers/inderp.cpp')
-rw-r--r--src/mame/drivers/inderp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/inderp.cpp b/src/mame/drivers/inderp.cpp
index caa7b7b3f14..2da3f8e4d80 100644
--- a/src/mame/drivers/inderp.cpp
+++ b/src/mame/drivers/inderp.cpp
@@ -36,8 +36,8 @@ public:
private:
DECLARE_WRITE_LINE_MEMBER(clock_tick);
- DECLARE_WRITE8_MEMBER(inputs_w);
- DECLARE_READ8_MEMBER(inputs_r);
+ void inputs_w(offs_t offset, u8 data);
+ u8 inputs_r();
void maincpu_map(address_map &map);
@@ -174,7 +174,7 @@ static INPUT_PORTS_START( inderp )
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
INPUT_PORTS_END
-READ8_MEMBER( inderp_state::inputs_r )
+u8 inderp_state::inputs_r()
{
if (m_inbank < 10)
return m_inputs[m_inbank]->read();
@@ -183,7 +183,7 @@ READ8_MEMBER( inderp_state::inputs_r )
}
// 0-2 select a dipsw bank; 3-9 select banks of mechanical inputs; A-F not connected
-WRITE8_MEMBER( inderp_state::inputs_w )
+void inderp_state::inputs_w(offs_t offset, u8 data)
{
m_inbank = offset;
}