diff options
author | 2012-09-12 06:07:51 +0000 | |
---|---|---|
committer | 2012-09-12 06:07:51 +0000 | |
commit | 17e66e39fd2aeb6e083a8567d281df9235b9f2f4 (patch) | |
tree | a34dfe5941829bc939167c207f65b5cf7f57078f /src/mess/drivers/h8.c | |
parent | 0ef1e6deb4923b27f4c1d95825e453f565b129a3 (diff) |
Clear out remaining global inlines in diexec.h.
Diffstat (limited to 'src/mess/drivers/h8.c')
-rw-r--r-- | src/mess/drivers/h8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/drivers/h8.c b/src/mess/drivers/h8.c index 30b2515f6de..a2d518e4f07 100644 --- a/src/mess/drivers/h8.c +++ b/src/mess/drivers/h8.c @@ -57,7 +57,7 @@ static TIMER_DEVICE_CALLBACK( h8_irq_pulse ) { h8_state *state = timer.machine().driver_data<h8_state>(); if (state->m_irq_ctl & 1) - device_set_input_line_and_vector(timer.machine().device("maincpu"), INPUT_LINE_IRQ0, ASSERT_LINE, 0xcf); + timer.machine().device("maincpu")->execute().set_input_line_and_vector(INPUT_LINE_IRQ0, ASSERT_LINE, 0xcf); } READ8_MEMBER( h8_state::h8_f0_r ) @@ -105,7 +105,7 @@ WRITE8_MEMBER( h8_state::h8_f0_w ) output_set_value("mon_led",(data & 0x20) ? 0 : 1); beep_set_state(m_beep, (data & 0x80) ? 0 : 1); - device_set_input_line(machine().device("maincpu"), INPUT_LINE_IRQ0, CLEAR_LINE); + machine().device("maincpu")->execute().set_input_line(INPUT_LINE_IRQ0, CLEAR_LINE); m_irq_ctl &= 0xf0; if (data & 0x40) m_irq_ctl |= 1; if (~data & 0x10) m_irq_ctl |= 2; @@ -197,7 +197,7 @@ But, all of this can only occur if bit 5 of port F0 is low. */ c=m_ff_b^1; // from /Q of 2nd flipflop m_ff_b=a; // from Q of 1st flipflop if (c) - device_set_input_line_and_vector(machine().device("maincpu"), INPUT_LINE_IRQ0, ASSERT_LINE, 0xd7); + machine().device("maincpu")->execute().set_input_line_and_vector(INPUT_LINE_IRQ0, ASSERT_LINE, 0xd7); } } else |