update stream on read in gaelco.cpp, touchgo still seems to forget to play sounds sometimes tho, like one of the channels gets stuck busy?

This commit is contained in:
David Haywood 2016-04-18 22:47:52 +01:00
parent 6e2f69d80c
commit f0a3621716

View File

@ -186,6 +186,9 @@ READ16_MEMBER( gaelco_gae1_device::gaelcosnd_r )
{ {
LOG_READ_WRITES(("%s: (GAE1): read from %04x\n", machine().describe_context(), offset)); LOG_READ_WRITES(("%s: (GAE1): read from %04x\n", machine().describe_context(), offset));
/* first update the stream to this point in time */
m_stream->update();
return m_sndregs[offset]; return m_sndregs[offset];
} }