summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nsc810.cpp
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.cpp
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.cpp')
-rw-r--r--src/devices/machine/nsc810.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/nsc810.cpp b/src/devices/machine/nsc810.cpp
index bf06c34d9dc..96a13e7b696 100644
--- a/src/devices/machine/nsc810.cpp
+++ b/src/devices/machine/nsc810.cpp
@@ -118,7 +118,7 @@ void nsc810_device::device_timer(emu_timer &timer, device_timer_id id, int param
}
}
-READ8_MEMBER(nsc810_device::read)
+uint8_t nsc810_device::read(offs_t offset)
{
uint8_t res = 0xff;
@@ -191,7 +191,7 @@ READ8_MEMBER(nsc810_device::read)
return res;
}
-WRITE8_MEMBER(nsc810_device::write)
+void nsc810_device::write(offs_t offset, uint8_t data)
{
uint32_t rate;