summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/1942.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-10 09:35:09 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-10 09:35:09 +0000
commit50d4146b3ad03e978c0f8e2242c34486ef29d862 (patch)
tree50d7d27cee92b8dc36b36d59644317b65f8ba79e /src/mame/drivers/1942.c
parentcd0f5b479b7873ecc81c0e6cd88f8aaa872cdf61 (diff)
changed machine().device("maincpu") with m_maincpu in mame tree part (nw)
Diffstat (limited to 'src/mame/drivers/1942.c')
-rw-r--r--src/mame/drivers/1942.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/1942.c b/src/mame/drivers/1942.c
index 41f2499e977..367a9e216ef 100644
--- a/src/mame/drivers/1942.c
+++ b/src/mame/drivers/1942.c
@@ -79,10 +79,10 @@ TIMER_DEVICE_CALLBACK_MEMBER(_1942_state::c1942_scanline)
int scanline = param;
if(scanline == 240) // vblank-out irq
- machine().device("maincpu")->execute().set_input_line_and_vector(0, HOLD_LINE, 0xd7); /* RST 10h - vblank */
+ m_maincpu->set_input_line_and_vector(0, HOLD_LINE, 0xd7); /* RST 10h - vblank */
if(scanline == 0) // unknown irq event, presumably vblank-in or a periodic one (writes to the soundlatch and drives freeze dip-switch)
- machine().device("maincpu")->execute().set_input_line_and_vector(0, HOLD_LINE, 0xcf); /* RST 08h */
+ m_maincpu->set_input_line_and_vector(0, HOLD_LINE, 0xcf); /* RST 08h */
}