From f0a362171641a32b46f0c5d0398c32d551cddb8c Mon Sep 17 00:00:00 2001 From: David Haywood Date: Mon, 18 Apr 2016 22:47:52 +0100 Subject: [PATCH] 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? --- src/devices/sound/gaelco.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/sound/gaelco.cpp b/src/devices/sound/gaelco.cpp index 16d647ba444..141361499c8 100644 --- a/src/devices/sound/gaelco.cpp +++ b/src/devices/sound/gaelco.cpp @@ -186,6 +186,9 @@ READ16_MEMBER( gaelco_gae1_device::gaelcosnd_r ) { 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]; }