summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/upd7759.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/upd7759.cpp')
-rw-r--r--src/devices/sound/upd7759.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/sound/upd7759.cpp b/src/devices/sound/upd7759.cpp
index b800f6a7b0e..f8ca2c2336d 100644
--- a/src/devices/sound/upd7759.cpp
+++ b/src/devices/sound/upd7759.cpp
@@ -287,7 +287,7 @@ void upd7756_device::device_start()
void upd775x_device::device_reset()
{
m_pos = 0;
- m_fifo_in = 0;
+ //m_fifo_in = 0; // this seems keeping state when /RESET line asserted (test case: konmedal.cpp games)
m_state = STATE_IDLE;
m_clocks_left = 0;
m_nibbles_left = 0;
@@ -699,6 +699,9 @@ void upd775x_device::port_w(u8 data)
READ_LINE_MEMBER( upd775x_device::busy_r )
{
+ /* update the stream first */
+ m_channel->update();
+
/* return /BUSY */
return (m_state == STATE_IDLE);
}