summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/2203intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/2203intf.cpp')
-rw-r--r--src/devices/sound/2203intf.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/sound/2203intf.cpp b/src/devices/sound/2203intf.cpp
index faf3072e94e..02ad8a41579 100644
--- a/src/devices/sound/2203intf.cpp
+++ b/src/devices/sound/2203intf.cpp
@@ -130,34 +130,34 @@ void ym2203_device::device_reset()
}
-READ8_MEMBER( ym2203_device::read )
+u8 ym2203_device::read(offs_t offset)
{
return ym2203_read(m_chip, offset & 1);
}
-WRITE8_MEMBER( ym2203_device::write )
+void ym2203_device::write(offs_t offset, u8 data)
{
ym2203_write(m_chip, offset & 1, data);
}
-READ8_MEMBER( ym2203_device::status_port_r )
+u8 ym2203_device::status_port_r()
{
- return read(space, 0);
+ return read(0);
}
-READ8_MEMBER( ym2203_device::read_port_r )
+u8 ym2203_device::read_port_r()
{
- return read(space, 1);
+ return read(1);
}
-WRITE8_MEMBER( ym2203_device::control_port_w )
+void ym2203_device::control_port_w(u8 data)
{
- write(space, 0, data);
+ write(0, data);
}
-WRITE8_MEMBER( ym2203_device::write_port_w )
+void ym2203_device::write_port_w(u8 data)
{
- write(space, 1, data);
+ write(1, data);
}
DEFINE_DEVICE_TYPE(YM2203, ym2203_device, "ym2203", "YM2203 OPN")