summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ym3802.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ym3802.cpp')
-rw-r--r--src/devices/machine/ym3802.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ym3802.cpp b/src/devices/machine/ym3802.cpp
index 603a9d82f53..3f0e8080ba7 100644
--- a/src/devices/machine/ym3802.cpp
+++ b/src/devices/machine/ym3802.cpp
@@ -188,7 +188,7 @@ void ym3802_device::set_comms_mode()
logerror("MIDI comms set to 1 start bit, %i data bits, %s, parity = %i\n",data_bits, (stop_bits == STOP_BITS_2) ? "2 stop bits" : "1 stop bit", parity);
}
-READ8_MEMBER(ym3802_device::read)
+uint8_t ym3802_device::read(offs_t offset)
{
if(offset < 4)
{
@@ -225,7 +225,7 @@ READ8_MEMBER(ym3802_device::read)
}
}
-WRITE8_MEMBER(ym3802_device::write)
+void ym3802_device::write(offs_t offset, uint8_t data)
{
m_wdr = data;
if(offset == 1)