summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ym2151.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/ym2151.cpp')
-rw-r--r--src/devices/sound/ym2151.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/devices/sound/ym2151.cpp b/src/devices/sound/ym2151.cpp
index 3e5df2b1914..682fef59024 100644
--- a/src/devices/sound/ym2151.cpp
+++ b/src/devices/sound/ym2151.cpp
@@ -1773,6 +1773,19 @@ void ym2151_device::device_reset()
//-------------------------------------------------
+// reset_w - handle writes to the reset lines of
+// the YM2151 and its associated DAC
+//-------------------------------------------------
+
+WRITE_LINE_MEMBER(ym2151_device::reset_w)
+{
+ // FIXME: not accurate behavior
+ if (!state)
+ reset();
+}
+
+
+//-------------------------------------------------
// sound_stream_update - handle a stream update
//-------------------------------------------------