diff options
Diffstat (limited to 'src/devices/bus/snes/sa1.cpp')
-rw-r--r-- | src/devices/bus/snes/sa1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/snes/sa1.cpp b/src/devices/bus/snes/sa1.cpp index bd98bd840ae..aaf7024ce5f 100644 --- a/src/devices/bus/snes/sa1.cpp +++ b/src/devices/bus/snes/sa1.cpp @@ -170,11 +170,11 @@ void sns_sa1_device::recalc_irqs() { if (m_scpu_flags & m_scpu_sie & (SCPU_IRQ_SA1|SCPU_IRQ_CHARCONV)) { - machine().device("maincpu")->execute().set_input_line(G65816_LINE_IRQ, ASSERT_LINE); + write_irq(ASSERT_LINE); } else { - machine().device("maincpu")->execute().set_input_line(G65816_LINE_IRQ, CLEAR_LINE); + write_irq(CLEAR_LINE); } if (m_sa1_flags & m_sa1_sie & (SA1_IRQ_SCPU|SA1_IRQ_TIMER|SA1_IRQ_DMA)) |