summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/cs8221.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/cs8221.cpp')
-rw-r--r--src/devices/machine/cs8221.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/cs8221.cpp b/src/devices/machine/cs8221.cpp
index 9177a758340..e57f181e383 100644
--- a/src/devices/machine/cs8221.cpp
+++ b/src/devices/machine/cs8221.cpp
@@ -96,13 +96,13 @@ void cs8221_device::map(address_map &map)
map(0x0023, 0x0023).rw("cs8221", FUNC(cs8221_device::data_r), FUNC(cs8221_device::data_w));
}
-WRITE8_MEMBER( cs8221_device::address_w )
+void cs8221_device::address_w(uint8_t data)
{
m_address = data;
m_address_valid = ((m_address & 0x60)== 0x60) ? true : false;
}
-READ8_MEMBER( cs8221_device::data_r )
+uint8_t cs8221_device::data_r()
{
uint8_t result = 0xff;
@@ -119,7 +119,7 @@ READ8_MEMBER( cs8221_device::data_r )
return result;
}
-WRITE8_MEMBER( cs8221_device::data_w )
+void cs8221_device::data_w(uint8_t data)
{
if (m_address_valid)
{