summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/lc82310.cpp
diff options
context:
space:
mode:
author MooglyGuy <MooglyGuy@users.noreply.github.com>2023-05-31 17:43:46 +0200
committer GitHub <noreply@github.com>2023-06-01 01:43:46 +1000
commit9f661e567c4528e7f7f662209e4b677f12b99875 (patch)
tree5dbd6f4cc4c274c296511dbde1d802d68dea4743 /src/devices/sound/lc82310.cpp
parenta9935073709fffa95130ef1b7ea701c3a2325b9b (diff)
emu/device.h: Removed device (READ|WRITE)_LINE_MEMBER in favor of explicit function signatures. (#11283) [Ryan Holtz]
Diffstat (limited to 'src/devices/sound/lc82310.cpp')
-rw-r--r--src/devices/sound/lc82310.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/sound/lc82310.cpp b/src/devices/sound/lc82310.cpp
index 0693930e23c..3404a5c9629 100644
--- a/src/devices/sound/lc82310.cpp
+++ b/src/devices/sound/lc82310.cpp
@@ -72,12 +72,12 @@ void lc82310_device::reset_playback()
m_frame_channels = 2;
}
-WRITE_LINE_MEMBER(lc82310_device::zcsctl_w)
+void lc82310_device::zcsctl_w(int state)
{
m_csctl = state;
}
-WRITE_LINE_MEMBER(lc82310_device::ckctl_w)
+void lc82310_device::ckctl_w(int state)
{
if (m_csctl == 0 && m_ckctl == 0 && state == 1)
{
@@ -115,17 +115,17 @@ WRITE_LINE_MEMBER(lc82310_device::ckctl_w)
m_ckctl = state;
}
-WRITE_LINE_MEMBER(lc82310_device::dictl_w)
+void lc82310_device::dictl_w(int state)
{
m_dictl = state;
}
-READ_LINE_MEMBER(lc82310_device::doctl_r)
+int lc82310_device::doctl_r()
{
return m_doctl;
}
-READ_LINE_MEMBER(lc82310_device::demand_r)
+int lc82310_device::demand_r()
{
return m_mp3data_count < mp3data.size();
}