diff options
author | 2012-09-12 03:35:06 +0000 | |
---|---|---|
committer | 2012-09-12 03:35:06 +0000 | |
commit | 0ef1e6deb4923b27f4c1d95825e453f565b129a3 (patch) | |
tree | aa3054f8acec99e6e5442359c8adcd88a3283bab /src/mess/drivers/pasogo.c | |
parent | cd5dcbacd973e855f0b4f5c522334279ff63930b (diff) |
Closeout on old macros. Retired cputag_set_input_line
and cputag_set_input_line_and_vector, replacing them
with machine.device("tag")->execute().set_input_line[_and_vector].
[Aaron Giles]
Diffstat (limited to 'src/mess/drivers/pasogo.c')
-rw-r--r-- | src/mess/drivers/pasogo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/pasogo.c b/src/mess/drivers/pasogo.c index 4ec4bc93c07..86e3e8430fe 100644 --- a/src/mess/drivers/pasogo.c +++ b/src/mess/drivers/pasogo.c @@ -450,7 +450,7 @@ static SCREEN_UPDATE_IND16( pasogo ) static INTERRUPT_GEN( pasogo_interrupt ) { -// cputag_set_input_line(machine, "maincpu", UPD7810_INTFE1, PULSE_LINE); +// machine.device("maincpu")->execute().set_input_line(UPD7810_INTFE1, PULSE_LINE); } static IRQ_CALLBACK(pasogo_irq_callback) @@ -487,7 +487,7 @@ static const struct pit8253_config pc_pit8254_config = static WRITE_LINE_DEVICE_HANDLER( pasogo_pic8259_set_int_line ) { - cputag_set_input_line(device->machine(), "maincpu", 0, state ? HOLD_LINE : CLEAR_LINE); + device->machine().device("maincpu")->execute().set_input_line(0, state ? HOLD_LINE : CLEAR_LINE); } static const struct pic8259_interface pasogo_pic8259_config = |