summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/kay_kbd.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-04-23 19:47:40 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-04-23 19:47:40 +0200
commitecefb4899299e8a6d6ffee13ec0fc981c025e70d (patch)
treecbaacaeb9e118a2e5095da054c3f512bb2651f74 /src/mame/machine/kay_kbd.h
parentd35877458724f60a7b9add350e5b7a8c41956c15 (diff)
mame/machine: simplified some handlers (nw)
Diffstat (limited to 'src/mame/machine/kay_kbd.h')
-rw-r--r--src/mame/machine/kay_kbd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/kay_kbd.h b/src/mame/machine/kay_kbd.h
index 8e59dbd2586..0d1e53395c0 100644
--- a/src/mame/machine/kay_kbd.h
+++ b/src/mame/machine/kay_kbd.h
@@ -27,12 +27,12 @@ protected:
virtual ioport_constructor device_input_ports() const override;
virtual void device_start() override;
- DECLARE_READ8_MEMBER(p1_r);
- DECLARE_READ8_MEMBER(p2_r);
- DECLARE_WRITE8_MEMBER(p2_w);
+ uint8_t p1_r();
+ uint8_t p2_r();
+ void p2_w(uint8_t data);
DECLARE_READ_LINE_MEMBER(t1_r);
- DECLARE_READ8_MEMBER(bus_r);
- DECLARE_WRITE8_MEMBER(bus_w);
+ uint8_t bus_r();
+ void bus_w(uint8_t data);
private:
required_device<i8049_device> m_mcu;