From 210830349bb2a8a3e394071ddc08fc705c191480 Mon Sep 17 00:00:00 2001 From: smf- Date: Sun, 24 Oct 2021 16:53:10 +0100 Subject: [PATCH] boosting the interleave during three way cpu communications speeds up Monster Zero protection check --- src/mame/drivers/galaxian.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mame/drivers/galaxian.cpp b/src/mame/drivers/galaxian.cpp index a37db7fcf49..af789b3addd 100644 --- a/src/mame/drivers/galaxian.cpp +++ b/src/mame/drivers/galaxian.cpp @@ -7886,14 +7886,20 @@ void monsterz_state::monsterz(machine_config &config) m_ay8910[0]->port_b_write_callback().set([this](uint8_t data) { if ((m_monsterz_audio_portb & 0x01) && !(data & 0x01)) + { + machine().scheduler().boost_interleave(m_screen->scan_period(), attotime(0, m_screen->refresh_attoseconds())); m_maincpu->set_input_line(0, HOLD_LINE); + } m_monsterz_audio_portb = data; }); m_ppi8255[2]->out_pc_callback().set([this](uint8_t data) { if ((m_monsterz_sample_portc & 0x01) && !(data & 0x01)) + { + machine().scheduler().boost_interleave(m_screen->scan_period(), attotime(0, m_screen->refresh_attoseconds())); m_audiocpu->set_input_line(0, HOLD_LINE); + } m_monsterz_sample_portc = data; });