summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nsc810.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-03-07 08:57:14 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-03-07 08:57:14 -0500
commit2958be7d8d3e173aa2c124aab6bddcc3d0633f0a (patch)
treeeedcde60107f9a2589bf21e320f1d6b0a3c1ba76 /src/devices/machine/nsc810.h
parent484916064411dcbd049c62919c91d6c2527c8eb7 (diff)
i8155, nsc810: Simplify read/write handlers (nw)
i8155: Rename "read" and "write" handlers to data_r and data_w, since these are neither complete nor typically-used accessors (nw)
Diffstat (limited to 'src/devices/machine/nsc810.h')
-rw-r--r--src/devices/machine/nsc810.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/nsc810.h b/src/devices/machine/nsc810.h
index 6eed2448ef1..520591208f7 100644
--- a/src/devices/machine/nsc810.h
+++ b/src/devices/machine/nsc810.h
@@ -46,8 +46,8 @@ public:
void set_timer1_clock(uint32_t clk) { m_timer1_clock = clk; }
void set_timer1_clock(const XTAL &clk) { set_timer1_clock(clk.value()); }
- DECLARE_READ8_MEMBER(read);
- DECLARE_WRITE8_MEMBER(write);
+ uint8_t read(offs_t offset);
+ void write(offs_t offset, uint8_t data);
protected:
virtual void device_start() override;