Skip to content

Commit 6e733f5

Browse files
committed
gottlieb/gottlieb.cpp: Work around race condition at soft reset
1 parent c314f82 commit 6e733f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/mame/gottlieb/gottlieb.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,12 @@ void gottlieb_state::machine_start()
426426

427427
void gottlieb_state::machine_reset()
428428
{
429-
/* if we have a laserdisc, reset our philips code callback for the next line 17 */
429+
// if we have a laserdisc, reset our philips code callback for the next line 17
430430
if (m_laserdisc != nullptr)
431431
m_laserdisc_philips_timer->adjust(m_screen->time_until_pos(17), 17);
432+
433+
// HACK: prevent NMI immediately after soft reset
434+
m_maincpu->pulse_input_line(INPUT_LINE_RESET, attotime::zero);
432435
}
433436

434437

0 commit comments

Comments
 (0)