summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/stvcd.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-02-16 00:09:40 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-02-16 00:09:49 -0500
commitebf9b4a11dfa005a5f2cafb2bbada7ed5d1e3d85 (patch)
tree0b67cd46544e383b0b5627859418e54f10a50fd0 /src/devices/machine/stvcd.cpp
parentde30d96e4c4e58ff18ac0fc27e951c7904e5e811 (diff)
saturn: Fix regression due to an unexpected CDDA dependency (nw)
Diffstat (limited to 'src/devices/machine/stvcd.cpp')
-rw-r--r--src/devices/machine/stvcd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp
index dda6c3db574..3535f2aa135 100644
--- a/src/devices/machine/stvcd.cpp
+++ b/src/devices/machine/stvcd.cpp
@@ -94,6 +94,11 @@ void stvcd_device::device_start()
{
}
+READ16_MEMBER(stvcd_device::channel_volume_r)
+{
+ return m_cdda->get_channel_volume(offset);
+}
+
int stvcd_device::get_timing_command(void)
{
/* TODO: calculate timings based off command params */