summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pcshare.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pcshare.c')
-rw-r--r--src/mame/machine/pcshare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/pcshare.c b/src/mame/machine/pcshare.c
index 5ab08de04c7..73bf2106238 100644
--- a/src/mame/machine/pcshare.c
+++ b/src/mame/machine/pcshare.c
@@ -154,7 +154,7 @@ static UINT8 at_pages[0x10];
static WRITE_LINE_DEVICE_HANDLER( pc_dma_hrq_changed )
{
- cputag_set_input_line(device->machine(), "maincpu", INPUT_LINE_HALT, state ? ASSERT_LINE : CLEAR_LINE);
+ device->machine().device("maincpu")->execute().set_input_line(INPUT_LINE_HALT, state ? ASSERT_LINE : CLEAR_LINE);
/* Assert HLDA */
i8237_hlda_w( device, state );
@@ -261,7 +261,7 @@ static I8237_INTERFACE( dma8237_2_config )
static WRITE_LINE_DEVICE_HANDLER( pic8259_1_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 READ8_DEVICE_HANDLER( get_slave_ack )