summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/model1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/model1.cpp')
-rw-r--r--src/mame/drivers/model1.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/model1.cpp b/src/mame/drivers/model1.cpp
index 9475b333c77..07fa23ce0c8 100644
--- a/src/mame/drivers/model1.cpp
+++ b/src/mame/drivers/model1.cpp
@@ -745,14 +745,13 @@ TIMER_DEVICE_CALLBACK_MEMBER(model1_state::model1_interrupt)
if (scanline == 384)
{
+ if (m_m1comm != nullptr)
+ m_m1comm->check_vint_irq();
irq_raise(1);
}
else if(scanline == 384/2)
{
irq_raise(m_sound_irq);
-
- if (m_m1comm != nullptr)
- m_m1comm->check_vint_irq();
}
}