diff options
Diffstat (limited to 'src/mame/audio/turbo.cpp')
-rw-r--r-- | src/mame/audio/turbo.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mame/audio/turbo.cpp b/src/mame/audio/turbo.cpp index d002916213e..f1732c80acd 100644 --- a/src/mame/audio/turbo.cpp +++ b/src/mame/audio/turbo.cpp @@ -61,6 +61,10 @@ if (!((data >> 4) & 1)) osd_printf_debug("/TRIG4\n"); // osel = (osel & 6) | ((data >> 5) & 1); // update_samples(samples); } +#else +TIMER_CALLBACK_MEMBER(turbo_state::update_sound_a) +{ +} #endif @@ -112,9 +116,14 @@ void turbo_state::sound_a_w(uint8_t data) #else if (((data ^ m_last_sound_a) & 0x1e) && (m_last_sound_a & 0x1e) != 0x1e) + { + // TODO: This looks like a hack, in that it models a transport delay only when certain bits to the sound latch control change. machine().scheduler().timer_set(attotime::from_hz(20000), FUNC(update_sound_a), data); + } else + { update_sound_a(data); + } m_last_sound_a = data; |