summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74123.h
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2017-11-10 22:07:57 +0100
committer Dirk Best <mail@dirk-best.de>2017-11-10 22:07:57 +0100
commitca23003a91258346757a3e275208ce4feae00e68 (patch)
treec6697bdf389bc0abf282830b97ea2a5c031ede28 /src/devices/machine/74123.h
parentbd69d42a02b9f5e66c2a186552cbae2af5ad4ea8 (diff)
74123: Use line handlers for single lines
Diffstat (limited to 'src/devices/machine/74123.h')
-rw-r--r--src/devices/machine/74123.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/74123.h b/src/devices/machine/74123.h
index 0da73384cef..1316249070b 100644
--- a/src/devices/machine/74123.h
+++ b/src/devices/machine/74123.h
@@ -105,10 +105,10 @@ public:
static void set_clear_pin_value(device_t &device, int value) { downcast<ttl74123_device &>(device).m_clear = value; }
template <class Object> static devcb_base &set_output_changed_callback(device_t &device, Object &&cb) { return downcast<ttl74123_device &>(device).m_output_changed_cb.set_callback(std::forward<Object>(cb)); }
- DECLARE_WRITE8_MEMBER(a_w);
- DECLARE_WRITE8_MEMBER(b_w);
- DECLARE_WRITE8_MEMBER(clear_w);
- DECLARE_WRITE8_MEMBER(reset_w);
+ DECLARE_WRITE_LINE_MEMBER(a_w);
+ DECLARE_WRITE_LINE_MEMBER(b_w);
+ DECLARE_WRITE_LINE_MEMBER(clear_w);
+ DECLARE_WRITE_LINE_MEMBER(reset_w);
protected:
// device-level overrides
@@ -133,7 +133,7 @@ private:
int m_a; /* initial/constant value of the A pin */
int m_b; /* initial/constant value of the B pin */
int m_clear; /* initial/constant value of the Clear pin */
- devcb_write8 m_output_changed_cb;
+ devcb_write_line m_output_changed_cb;
};