From 3b4d2b39c2b498b1a0e85f39ec97e0963deaf953 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 11 Apr 2013 13:48:28 +0000 Subject: [PATCH] forgot this one (nw) --- src/mame/video/esripsys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/video/esripsys.c b/src/mame/video/esripsys.c index ed809ed0310..75ff4470151 100644 --- a/src/mame/video/esripsys.c +++ b/src/mame/video/esripsys.c @@ -11,7 +11,7 @@ INTERRUPT_GEN_MEMBER(esripsys_state::esripsys_vblank_irq) { - machine().device("game_cpu")->execute().set_input_line(M6809_IRQ_LINE, ASSERT_LINE); + m_gamecpu->set_input_line(M6809_IRQ_LINE, ASSERT_LINE); m_frame_vbl = 0; } @@ -22,14 +22,14 @@ TIMER_CALLBACK_MEMBER(esripsys_state::hblank_start_callback) if (m_video_firq) { m_video_firq = 0; - machine().device("game_cpu")->execute().set_input_line(M6809_FIRQ_LINE, CLEAR_LINE); + m_gamecpu->set_input_line(M6809_FIRQ_LINE, CLEAR_LINE); } /* Not sure if this is totally accurate - I couldn't find the circuit that generates the FIRQs! */ if (!(v % 6) && v && m_video_firq_en && v < ESRIPSYS_VBLANK_START) { m_video_firq = 1; - machine().device("game_cpu")->execute().set_input_line(M6809_FIRQ_LINE, ASSERT_LINE); + m_gamecpu->set_input_line(M6809_FIRQ_LINE, ASSERT_LINE); } /* Adjust for next scanline */