diff options
author | 2023-05-31 17:43:46 +0200 | |
---|---|---|
committer | 2023-06-01 01:43:46 +1000 | |
commit | 9f661e567c4528e7f7f662209e4b677f12b99875 (patch) | |
tree | 5dbd6f4cc4c274c296511dbde1d802d68dea4743 /src/devices/machine/cdp1871.h | |
parent | a9935073709fffa95130ef1b7ea701c3a2325b9b (diff) |
emu/device.h: Removed device (READ|WRITE)_LINE_MEMBER in favor of explicit function signatures. (#11283) [Ryan Holtz]
Diffstat (limited to 'src/devices/machine/cdp1871.h')
-rw-r--r-- | src/devices/machine/cdp1871.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/cdp1871.h b/src/devices/machine/cdp1871.h index a359980f7fb..4c560396dfb 100644 --- a/src/devices/machine/cdp1871.h +++ b/src/devices/machine/cdp1871.h @@ -56,12 +56,12 @@ public: uint8_t read(); - DECLARE_READ_LINE_MEMBER( da_r ) { return m_da; } - DECLARE_READ_LINE_MEMBER( rpt_r ) { return m_rpt; } + int da_r() { return m_da; } + int rpt_r() { return m_rpt; } - DECLARE_WRITE_LINE_MEMBER( shift_w ) { m_shift = state; } - DECLARE_WRITE_LINE_MEMBER( control_w ) { m_control = state; } - DECLARE_WRITE_LINE_MEMBER( alpha_w ) { m_alpha = state; } + void shift_w(int state) { m_shift = state; } + void control_w(int state) { m_control = state; } + void alpha_w(int state) { m_alpha = state; } protected: // device-level overrides |